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.001631/0.001631, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001964/0.001964, allocations: 186 kB / 24.46 MB, free: 3.863 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.551/1.551, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.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 0.001681/0.001681, allocations: 51.92 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2693, allocations: 52.19 MB / 423.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008852/0.2782, allocations: 6.844 MB / 430.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00433/0.2825, allocations: 1.851 MB / 432.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2836, allocations: 35.81 kB / 432.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.2842, allocations: 233.7 kB / 432.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.2854, allocations: 460.2 kB / 433.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2864, allocations: 0.5033 MB / 433.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.2886, allocations: 1.798 MB / 435.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.2893, allocations: 408.3 kB / 436 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.2902, allocations: 0.6579 MB / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.291, allocations: 0.6218 MB / 437.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.2913, allocations: 180 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.2915, allocations: 180 kB / 437.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.2918, allocations: 362.8 kB / 437.9 MB, free: 340 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.2925, allocations: 0.6301 MB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.2946, allocations: 2.069 MB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2946, allocations: 0 / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2946, allocations: 0 / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.2946, allocations: 0 / 440.6 MB, free: 13.62 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.00347/0.2981, allocations: 1.755 MB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2981, allocations: 8.031 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.2984, allocations: 164 kB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.2997, allocations: 0.6932 MB / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.2997, allocations: 98.33 kB / 443.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.2999, allocations: 120 kB / 443.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.3026, allocations: 1.639 MB / 445.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.3027, allocations: 7.938 kB / 445.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3028, allocations: 48 kB / 445.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.3028, allocations: 28 kB / 445.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.3054, allocations: 1.118 MB / 446.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007962/0.3134, allocations: 4.237 MB / 450.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.3158, allocations: 0.995 MB / 451.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.317, allocations: 482.1 kB / 452 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.317, allocations: 12.66 kB / 452 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.3171, allocations: 51.14 kB / 452.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.816e-06/0.3171, allocations: 0 / 452.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008789/0.3258, allocations: 2.473 MB / 454.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3259, allocations: 85.77 kB / 454.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.3271, allocations: 0.7505 MB / 455.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.3272, allocations: 41.7 kB / 455.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.3276, allocations: 0.6131 MB / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.3279, allocations: 293.4 kB / 456.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.3282, allocations: 174.6 kB / 456.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.3284, allocations: 394.7 kB / 456.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009433/0.3294, allocations: 365.8 kB / 457.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.3305, allocations: 0.5856 MB / 457.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.3325, allocations: 0.9481 MB / 458.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3325, allocations: 7.938 kB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003442/0.336, allocations: 1.343 MB / 460.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.336, allocations: 16.19 kB / 460.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.336, allocations: 8 kB / 460.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008636/0.3369, allocations: 226.7 kB / 460.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/0.3407, allocations: 0.8311 MB / 461.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.3556, allocations: 10.05 MB / 471.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000995/0.3565, allocations: 147.3 kB / 471.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.3566, allocations: 40 kB / 471.4 MB, free: 13.52 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.0005147/0.3571, allocations: 277.5 kB / 471.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3573, allocations: 99.39 kB / 471.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.3575, allocations: 100.1 kB / 471.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3575, allocations: 8 kB / 471.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3575, allocations: 0 / 471.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3575, allocations: 11.98 kB / 471.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.3629, allocations: 2.134 MB / 474.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3629, allocations: 0 / 474.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.3635, allocations: 123.9 kB / 474.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.365, allocations: 424.8 kB / 474.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.365, allocations: 19.98 kB / 474.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.3789, allocations: 10.08 MB / 484.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3789, allocations: 3.938 kB / 484.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.3838, allocations: 1.925 MB / 486.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.3841, allocations: 111.2 kB / 486.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3842, allocations: 16 kB / 486.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/0.385, allocations: 107.9 kB / 486.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.3852, allocations: 68.47 kB / 486.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.3852, allocations: 27.92 kB / 486.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.3859, allocations: 0.4951 MB / 487.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3859, allocations: 0 / 487.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001247/0.3871, allocations: 367.2 kB / 487.8 MB, free: 12.41 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.0001973/0.3873, allocations: 131.8 kB / 487.9 MB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005991/0.3933, allocations: 1.949 MB / 489.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3933, allocations: 0 / 489.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.3951, allocations: 1.132 MB / 491 MB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3961, allocations: 185.7 kB / 491.2 MB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.4013, allocations: 2.364 MB / 493.6 MB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/0.402, allocations: 496 kB / 494 MB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.4022, allocations: 59.44 kB / 494.1 MB, free: 5.906 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4022, allocations: 0 / 494.1 MB, free: 5.906 MB / 398.1 MB Notification: Performance of Templates: time 0.05115/0.4534, allocations: 43.2 MB / 0.5247 GB, free: 10.69 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 [Calling sys.exit(0), Time elapsed: 10.282002078834921]