Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 104 kB / 19.6 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 193 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.91 kB / 369.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2481, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008986/0.2571, allocations: 7.909 MB / 429.2 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003908/0.261, allocations: 1.862 MB / 431.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008608/0.2618, allocations: 31.88 kB / 431.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.2624, allocations: 233.7 kB / 431.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2635, allocations: 456.2 kB / 431.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2645, allocations: 0.4994 MB / 432.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002096/0.2666, allocations: 1.802 MB / 434.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007087/0.2673, allocations: 439.9 kB / 434.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008237/0.2682, allocations: 0.6422 MB / 435.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008445/0.269, allocations: 0.7117 MB / 435.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.2693, allocations: 180 kB / 436.1 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.2695, allocations: 180 kB / 436.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.2698, allocations: 358.7 kB / 436.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007565/0.2706, allocations: 0.7775 MB / 437.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.2726, allocations: 2.052 MB / 439.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2726, allocations: 4 kB / 439.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2726, allocations: 0 / 439.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.71e-05/0.2727, allocations: 0 / 439.4 MB, free: 12.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003455/0.2761, allocations: 1.827 MB / 441.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.2762, allocations: 8.031 kB / 441.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.2764, allocations: 164 kB / 441.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.2777, allocations: 0.7614 MB / 442.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.2778, allocations: 94.39 kB / 442.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.278, allocations: 120 kB / 442.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.2806, allocations: 1.312 MB / 443.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.2806, allocations: 4 kB / 443.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.2808, allocations: 52 kB / 443.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.2808, allocations: 31.98 kB / 443.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.2834, allocations: 1.118 MB / 444.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008804/0.2922, allocations: 4.954 MB / 449.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.2948, allocations: 1.162 MB / 451 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.2961, allocations: 486.1 kB / 451.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.074e-05/0.2961, allocations: 12.64 kB / 451.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.2962, allocations: 51.22 kB / 451.6 MB, free: 404 kB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/0.2962, allocations: 0 / 451.6 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008582/0.3047, allocations: 2.925 MB / 454.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.3048, allocations: 89.77 kB / 454.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3061, allocations: 0.8059 MB / 455.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.3061, allocations: 41.7 kB / 455.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.3067, allocations: 0.6092 MB / 456 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.307, allocations: 289.5 kB / 456.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.3073, allocations: 178.5 kB / 456.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3075, allocations: 345.9 kB / 456.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009302/0.3084, allocations: 365.8 kB / 457.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3095, allocations: 0.5895 MB / 457.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.3114, allocations: 0.9442 MB / 458.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.3114, allocations: 4 kB / 458.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003344/0.3147, allocations: 1.362 MB / 460.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.3148, allocations: 8 kB / 460.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3148, allocations: 8 kB / 460.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008184/0.3156, allocations: 227 kB / 460.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/0.3189, allocations: 0.8311 MB / 461.2 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.3331, allocations: 10.85 MB / 472 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/0.3341, allocations: 143.2 kB / 472.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.3341, allocations: 47.98 kB / 472.2 MB, free: 10.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005013/0.3346, allocations: 273.5 kB / 472.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.3348, allocations: 103.3 kB / 472.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.335, allocations: 112.8 kB / 472.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3351, allocations: 8 kB / 472.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3351, allocations: 0 / 472.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3351, allocations: 11.98 kB / 472.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/0.3403, allocations: 2.444 MB / 475.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3403, allocations: 0 / 475.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.3409, allocations: 119.8 kB / 475.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.3422, allocations: 432.8 kB / 475.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.3423, allocations: 16 kB / 475.7 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.3563, allocations: 10.88 MB / 486.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3563, allocations: 4.031 kB / 486.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004893/0.3612, allocations: 1.944 MB / 488.5 MB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.3615, allocations: 192.3 kB / 488.7 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.3616, allocations: 19.94 kB / 488.7 MB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.3624, allocations: 100.2 kB / 488.8 MB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.3626, allocations: 68.41 kB / 488.9 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.3627, allocations: 28 kB / 488.9 MB, free: 8.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008434/0.3635, allocations: 0.5537 MB / 489.5 MB, free: 8.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3635, allocations: 0 / 489.5 MB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001383/0.3649, allocations: 355.3 kB / 489.8 MB, free: 7.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002169/0.3651, allocations: 127.1 kB / 489.9 MB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005815/0.3709, allocations: 1.952 MB / 491.9 MB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.3709, allocations: 0 / 491.9 MB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.3729, allocations: 1.14 MB / 493 MB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.3742, allocations: 209.9 kB / 493.2 MB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.3795, allocations: 2.368 MB / 495.6 MB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009221/0.3804, allocations: 1.074 MB / 496.7 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.3807, allocations: 59.44 kB / 496.7 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3807, allocations: 0 / 496.7 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of Templates: time 0.05005/0.4307, allocations: 43.21 MB / 0.5273 GB, free: 5.562 MB / 446.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches