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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002469/0.002469, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 2.645e-06/2.645e-06, allocations: 1.688 kB / 319 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.755e-05, allocations: 2.281 kB / 319 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007849/0.007876, allocations: 6.842 MB / 325.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005348/0.01322, allocations: 1.848 MB / 327.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.01477, allocations: 33.44 kB / 327.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.01545, allocations: 232.2 kB / 327.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.01689, allocations: 478.4 kB / 328.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.01821, allocations: 0.5007 MB / 328.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.02089, allocations: 1.869 MB / 330.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.02177, allocations: 414.2 kB / 331.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.02338, allocations: 0.9973 MB / 332.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.02421, allocations: 0.5232 MB / 332.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.02448, allocations: 182.8 kB / 332.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.02477, allocations: 178.8 kB / 333 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.02513, allocations: 368 kB / 333.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007153/0.02585, allocations: 0.5371 MB / 333.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002308/0.02815, allocations: 2.096 MB / 336 MB, free: 8.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.02816, allocations: 0 / 336 MB, free: 8.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02816, allocations: 0 / 336 MB, free: 8.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.459e-05/0.02819, allocations: 1.094 kB / 336 MB, free: 8.559 MB / 302.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.003879/0.03207, allocations: 1.732 MB / 337.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.03212, allocations: 9.984 kB / 337.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.03247, allocations: 162.6 kB / 337.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.03389, allocations: 0.6868 MB / 338.6 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.03397, allocations: 96.33 kB / 338.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.03415, allocations: 118.8 kB / 338.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.03721, allocations: 1.647 MB / 340.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.03723, allocations: 0 / 340.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.03736, allocations: 56.62 kB / 340.5 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.03739, allocations: 29.53 kB / 340.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.04012, allocations: 1.122 MB / 341.7 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00858/0.04871, allocations: 4.237 MB / 345.9 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/0.05142, allocations: 0.9954 MB / 346.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.05265, allocations: 486.4 kB / 347.4 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.05271, allocations: 12.66 kB / 347.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/0.05277, allocations: 47.2 kB / 347.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 2.504e-06/0.05277, allocations: 0 / 347.4 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.009768/0.06254, allocations: 2.477 MB / 349.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.06261, allocations: 85.77 kB / 350 MB, free: 12.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.0639, allocations: 0.7506 MB / 350.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/0.06398, allocations: 41.7 kB / 350.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.06458, allocations: 0.6092 MB / 351.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.06492, allocations: 289.5 kB / 351.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.06521, allocations: 174.6 kB / 351.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002744/0.06549, allocations: 394.7 kB / 352.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.06655, allocations: 373.7 kB / 352.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.06778, allocations: 0.5778 MB / 353.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.06998, allocations: 0.952 MB / 354.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.06999, allocations: 0 / 354.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003559/0.07355, allocations: 1.35 MB / 355.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.07357, allocations: 10.97 kB / 355.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.07359, allocations: 8.312 kB / 355.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.07447, allocations: 230.3 kB / 355.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/0.07837, allocations: 0.8272 MB / 356.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.09458, allocations: 10.04 MB / 366.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.09581, allocations: 131.2 kB / 366.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.09588, allocations: 48.05 kB / 366.8 MB, free: 10.48 MB / 334.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.000576/0.09646, allocations: 269.6 kB / 367 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.09665, allocations: 99.33 kB / 367.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.09687, allocations: 108.1 kB / 367.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.09688, allocations: 8 kB / 367.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.09689, allocations: 0 / 367.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.09691, allocations: 3.984 kB / 367.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005601/0.1025, allocations: 2.142 MB / 369.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1025, allocations: 0 / 369.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.1031, allocations: 119.9 kB / 369.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.1046, allocations: 428.8 kB / 369.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.1046, allocations: 16 kB / 369.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.1189, allocations: 10.06 MB / 380 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1189, allocations: 4.062 kB / 380 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005467/0.1244, allocations: 1.937 MB / 382 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.1248, allocations: 111.2 kB / 382.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.125, allocations: 16 kB / 382.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008746/0.1258, allocations: 99.92 kB / 382.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.1261, allocations: 68.47 kB / 382.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.1261, allocations: 27.98 kB / 382.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008689/0.127, allocations: 0.4951 MB / 382.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.127, allocations: 0 / 382.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001579/0.1286, allocations: 371.2 kB / 383.1 MB, free: 9.379 MB / 350.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.0002585/0.1289, allocations: 119.8 kB / 383.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006805/0.1357, allocations: 1.96 MB / 385.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.1357, allocations: 4.188 kB / 385.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002073/0.1377, allocations: 1.136 MB / 386.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.1391, allocations: 175.2 kB / 386.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.1445, allocations: 2.229 MB / 388.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.145, allocations: 500 kB / 389.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000404/0.1454, allocations: 90.89 kB / 389.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.1456, allocations: 52.5 kB / 389.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1456, allocations: 0 / 389.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of Templates: time 0.02715/0.1728, allocations: 13.3 MB / 402.7 MB, free: 5.82 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.081980679184198]