Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001329/0.001329, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.00152/0.00152, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.88 kB / 379.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 53.41 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01064/0.3026, allocations: 8.056 MB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.3072, allocations: 1.823 MB / 442.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.3088, allocations: 35.75 kB / 442.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3101, allocations: 233.7 kB / 442.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.3121, allocations: 492.1 kB / 443.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3135, allocations: 415.5 kB / 443.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003091/0.3165, allocations: 1.79 MB / 445.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.3176, allocations: 440.5 kB / 445.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.3187, allocations: 0.65 MB / 446.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.32, allocations: 0.735 MB / 447.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.3203, allocations: 180 kB / 447.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.3206, allocations: 180 kB / 447.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003153/0.3209, allocations: 374.6 kB / 447.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008412/0.3218, allocations: 0.7931 MB / 448.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.3241, allocations: 2.106 MB / 450.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3241, allocations: 0 / 450.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3241, allocations: 0 / 450.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.143e-05/0.3242, allocations: 0 / 450.7 MB, free: 4.402 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003216/0.3274, allocations: 1.701 MB / 452.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3274, allocations: 8.031 kB / 452.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.3277, allocations: 171.9 kB / 452.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.329, allocations: 0.7304 MB / 453.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.3291, allocations: 98.58 kB / 453.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3293, allocations: 128 kB / 453.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.3315, allocations: 1.26 MB / 454.8 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.3316, allocations: 0 / 454.8 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3317, allocations: 52 kB / 454.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.3317, allocations: 32 kB / 454.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.3337, allocations: 1.017 MB / 455.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008046/0.3417, allocations: 4.354 MB / 460.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.3433, allocations: 0.8361 MB / 461.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008636/0.3442, allocations: 443.3 kB / 461.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.914e-05/0.3442, allocations: 12.98 kB / 461.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.3443, allocations: 51.56 kB / 461.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.106e-06/0.3443, allocations: 3.938 kB / 461.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005143/0.3494, allocations: 1.722 MB / 463.3 MB, free: 7.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.3495, allocations: 86.11 kB / 463.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3506, allocations: 0.8136 MB / 464.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/0.3507, allocations: 53.64 kB / 464.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/0.3512, allocations: 0.5978 MB / 464.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.3515, allocations: 329.2 kB / 465.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.3518, allocations: 178.9 kB / 465.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.352, allocations: 345.9 kB / 465.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.3526, allocations: 302.5 kB / 466 MB, free: 4.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/0.3533, allocations: 0.5023 MB / 466.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.3547, allocations: 0.8166 MB / 467.3 MB, free: 3.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3547, allocations: 4 kB / 467.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002795/0.3575, allocations: 1.318 MB / 468.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3575, allocations: 8 kB / 468.7 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3575, allocations: 11.94 kB / 468.7 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.3589, allocations: 405.2 kB / 469.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.3596, allocations: 187.7 kB / 469.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.3716, allocations: 10.23 MB / 479.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.3726, allocations: 119.1 kB / 479.6 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.3727, allocations: 43.98 kB / 479.6 MB, free: 6.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005844/0.3733, allocations: 293.9 kB / 479.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.3735, allocations: 107.3 kB / 480 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3737, allocations: 114.1 kB / 480.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3737, allocations: 12 kB / 480.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.3737, allocations: 0 / 480.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3737, allocations: 3.984 kB / 480.2 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.3778, allocations: 2.212 MB / 482.4 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3778, allocations: 0 / 482.4 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005775/0.3784, allocations: 131.8 kB / 482.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.3798, allocations: 388.8 kB / 482.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.3798, allocations: 23.94 kB / 482.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/0.3915, allocations: 10.24 MB / 493.1 MB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3915, allocations: 0 / 493.1 MB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.3948, allocations: 1.631 MB / 494.8 MB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.3951, allocations: 131 kB / 494.9 MB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3953, allocations: 19.98 kB / 494.9 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.3961, allocations: 83.94 kB / 495 MB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.3963, allocations: 96.83 kB / 495.1 MB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.3963, allocations: 24 kB / 495.1 MB, free: 5.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007984/0.3971, allocations: 0.5537 MB / 495.7 MB, free: 5.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3971, allocations: 0 / 495.7 MB, free: 5.301 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001467/0.3986, allocations: 387.3 kB / 496.1 MB, free: 4.922 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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002418/0.3988, allocations: 139.1 kB / 496.2 MB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.4014, allocations: 1.512 MB / 497.7 MB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4014, allocations: 4 kB / 497.7 MB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.4029, allocations: 1.155 MB / 498.9 MB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.404, allocations: 232 kB / 499.1 MB, free: 1.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.4085, allocations: 2.317 MB / 0.4897 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/0.4095, allocations: 1.102 MB / 0.4907 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4097, allocations: 71.44 kB / 0.4908 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4097, allocations: 3.938 kB / 0.4908 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Templates: time 0.05427/0.464, allocations: 45.29 MB / 0.535 GB, free: 0.8359 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.358023045118898]