Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.023 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.55 kB / 379.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2661, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00958/0.2757, allocations: 7.935 MB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004898/0.2806, allocations: 1.913 MB / 442.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2816, allocations: 35.81 kB / 442.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.2822, allocations: 229.7 kB / 442.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.2833, allocations: 460.2 kB / 443 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2843, allocations: 0.4994 MB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.2865, allocations: 1.798 MB / 445.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007782/0.2872, allocations: 440.3 kB / 445.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2883, allocations: 0.654 MB / 446.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000996/0.2893, allocations: 0.7233 MB / 447.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.2895, allocations: 176 kB / 447.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.2898, allocations: 180 kB / 447.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.2902, allocations: 358.8 kB / 447.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007593/0.2909, allocations: 0.7698 MB / 448.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.293, allocations: 2.052 MB / 450.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.293, allocations: 8 kB / 450.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.293, allocations: 0 / 450.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.293, allocations: 0 / 450.6 MB, free: 4.652 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.003402/0.2964, allocations: 1.748 MB / 452.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2965, allocations: 12.03 kB / 452.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.2967, allocations: 164 kB / 452.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.2979, allocations: 0.6932 MB / 453.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.298, allocations: 106.3 kB / 453.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2982, allocations: 120 kB / 453.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.3007, allocations: 1.301 MB / 454.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3007, allocations: 7.938 kB / 454.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.3008, allocations: 52 kB / 454.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.3009, allocations: 32 kB / 454.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.3034, allocations: 1.128 MB / 456 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/0.3118, allocations: 4.86 MB / 460.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/0.3143, allocations: 0.991 MB / 461.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.3154, allocations: 486.1 kB / 462.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.3155, allocations: 16.8 kB / 462.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.3155, allocations: 51.16 kB / 462.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.775e-06/0.3155, allocations: 0 / 462.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008346/0.3239, allocations: 2.481 MB / 464.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.3239, allocations: 93.69 kB / 464.9 MB, free: 5.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.3253, allocations: 0.8059 MB / 465.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.3255, allocations: 41.7 kB / 465.8 MB, free: 5.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/0.326, allocations: 0.6014 MB / 466.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.3263, allocations: 289.5 kB / 466.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.3265, allocations: 170.6 kB / 466.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3267, allocations: 349.9 kB / 467.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009058/0.3276, allocations: 373.8 kB / 467.6 MB, free: 3.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.3286, allocations: 0.5784 MB / 468.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.3305, allocations: 0.9521 MB / 469.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3306, allocations: 4 kB / 469.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00328/0.3338, allocations: 1.354 MB / 470.4 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3339, allocations: 8 kB / 470.4 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.3339, allocations: 11.94 kB / 470.5 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008722/0.3348, allocations: 230.7 kB / 470.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/0.3381, allocations: 0.8311 MB / 471.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.352, allocations: 10.22 MB / 481.7 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.3532, allocations: 143.2 kB / 481.9 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/0.3533, allocations: 40.06 kB / 481.9 MB, free: 4.02 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.0005677/0.3538, allocations: 275.2 kB / 482.2 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.354, allocations: 111.3 kB / 482.3 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.3542, allocations: 112.8 kB / 482.4 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3542, allocations: 8 kB / 482.4 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.3542, allocations: 0 / 482.4 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3542, allocations: 3.984 kB / 482.4 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/0.3593, allocations: 2.418 MB / 484.8 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3594, allocations: 4.062 kB / 484.8 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.3599, allocations: 119.9 kB / 485 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3613, allocations: 432.7 kB / 485.4 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.959e-05/0.3614, allocations: 20 kB / 485.4 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.3752, allocations: 10.29 MB / 495.7 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3752, allocations: 0 / 495.7 MB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.3805, allocations: 1.937 MB / 497.6 MB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.381, allocations: 123.1 kB / 497.7 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.3812, allocations: 12 kB / 497.8 MB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/0.3821, allocations: 108.2 kB / 497.9 MB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.3823, allocations: 68.47 kB / 497.9 MB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.3824, allocations: 20 kB / 497.9 MB, free: 3.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009558/0.3833, allocations: 0.5498 MB / 498.5 MB, free: 2.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 0 / 498.5 MB, free: 2.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001577/0.3849, allocations: 359.3 kB / 498.8 MB, free: 2.258 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.0002704/0.3852, allocations: 135 kB / 499 MB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006041/0.3912, allocations: 1.949 MB / 0.4892 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.3912, allocations: 4 kB / 0.4892 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.3932, allocations: 1.14 MB / 0.4903 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.3948, allocations: 204.7 kB / 0.4905 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.4007, allocations: 2.327 MB / 0.4928 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/0.4017, allocations: 1.085 MB / 0.4938 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.4023, allocations: 91.52 kB / 0.4939 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.4024, allocations: 59.44 kB / 0.494 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.4024, allocations: 0 / 0.494 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.03224/0.4347, allocations: 15.37 MB / 0.509 GB, free: 11.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.0850978614762425]