Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 59.91 kB / 373.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 53.33 MB / 426.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.2599/0.3728, allocations: 7.907 MB / 434.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3774, allocations: 1.898 MB / 436.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.3793, allocations: 33.75 kB / 436.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.38, allocations: 238.3 kB / 436.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3816, allocations: 452.6 kB / 437.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.3829, allocations: 0.4952 MB / 437.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.3854, allocations: 1.803 MB / 439.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008412/0.3862, allocations: 441.7 kB / 440.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.3875, allocations: 0.6542 MB / 440.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008838/0.3884, allocations: 0.7151 MB / 441.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.3887, allocations: 178.9 kB / 441.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.389, allocations: 178.5 kB / 441.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.3892, allocations: 361.9 kB / 442.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.39, allocations: 0.7717 MB / 442.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.3927, allocations: 2.054 MB / 445 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3927, allocations: 0.5312 kB / 445 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3927, allocations: 0 / 445 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.697e-05/0.3927, allocations: 0.5938 kB / 445 MB, free: 2.473 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.004162/0.3969, allocations: 1.832 MB / 446.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3969, allocations: 9.828 kB / 446.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.3972, allocations: 163 kB / 447 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3984, allocations: 0.7633 MB / 447.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.3985, allocations: 96.55 kB / 447.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.3987, allocations: 120.2 kB / 448 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.4012, allocations: 1.316 MB / 449.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.4013, allocations: 0 / 449.3 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.4014, allocations: 52.16 kB / 449.3 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.4014, allocations: 31.03 kB / 449.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.4045, allocations: 1.119 MB / 450.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009816/0.4144, allocations: 4.969 MB / 455.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.4171, allocations: 1.149 MB / 456.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4183, allocations: 494.7 kB / 457.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.488e-05/0.4183, allocations: 9.375 kB / 457.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/0.4184, allocations: 50.77 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.4184, allocations: 1.188 kB / 457.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.0111/0.4295, allocations: 2.927 MB / 460.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.4296, allocations: 86.58 kB / 460.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.4315, allocations: 0.806 MB / 461 MB, free: 9.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.4316, allocations: 42.45 kB / 461 MB, free: 9.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.4321, allocations: 0.6051 MB / 461.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.4324, allocations: 291.5 kB / 461.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.4328, allocations: 170.5 kB / 462.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.433, allocations: 350.3 kB / 462.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.434, allocations: 362.8 kB / 462.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.4352, allocations: 0.584 MB / 463.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.4374, allocations: 0.9514 MB / 464.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4374, allocations: 2.25 kB / 464.3 MB, free: 6.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003768/0.4412, allocations: 1.357 MB / 465.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.4412, allocations: 12.2 kB / 465.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.4412, allocations: 6.469 kB / 465.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008908/0.4421, allocations: 216 kB / 465.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/0.4459, allocations: 0.8347 MB / 466.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.4616, allocations: 10.84 MB / 477.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.4629, allocations: 146.4 kB / 477.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.463, allocations: 37.78 kB / 477.7 MB, free: 11.65 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.0006058/0.4636, allocations: 281.3 kB / 478 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.4638, allocations: 105.1 kB / 478.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.4641, allocations: 108.8 kB / 478.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4641, allocations: 7.375 kB / 478.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.4641, allocations: 1.562 kB / 478.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4641, allocations: 3.984 kB / 478.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.4698, allocations: 2.449 MB / 480.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4698, allocations: 0 / 480.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.4704, allocations: 123.8 kB / 480.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.4718, allocations: 424.9 kB / 481.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.4719, allocations: 19.98 kB / 481.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.4867, allocations: 10.9 MB / 492.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4867, allocations: 4.031 kB / 492.1 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005339/0.4921, allocations: 1.935 MB / 494.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.4926, allocations: 196.3 kB / 494.3 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.4927, allocations: 15.98 kB / 494.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.4935, allocations: 107.9 kB / 494.4 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.4937, allocations: 60.47 kB / 494.5 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.4938, allocations: 27.94 kB / 494.5 MB, free: 10.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008785/0.4946, allocations: 0.5459 MB / 495 MB, free: 9.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4946, allocations: 0 / 495 MB, free: 9.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00145/0.4961, allocations: 359.3 kB / 495.4 MB, free: 9.387 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.000232/0.4963, allocations: 135.6 kB / 495.5 MB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006467/0.5028, allocations: 1.954 MB / 497.5 MB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5028, allocations: 0 / 497.5 MB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.5047, allocations: 1.141 MB / 498.6 MB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.506, allocations: 198.6 kB / 498.8 MB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.5112, allocations: 2.336 MB / 0.4894 GB, free: 3.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.5121, allocations: 1.078 MB / 0.4904 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004562/0.5126, allocations: 99.5 kB / 0.4905 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.5128, allocations: 59.44 kB / 0.4906 GB, free: 2.207 MB / 398.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5128, allocations: 0 / 0.4906 GB, free: 2.207 MB / 398.1 MB Notification: Performance of Templates: time 0.02856/0.5413, allocations: 14.77 MB / 0.505 GB, free: 3.555 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.579920753836632]