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.001362/0.001362, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001765/0.001765, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.427/1.427, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.003226/0.003226, allocations: 55.91 kB / 379 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2658, allocations: 53.41 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009879/0.2756, allocations: 6.962 MB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.2799, allocations: 1.78 MB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.2811, allocations: 39.75 kB / 441.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00072/0.2818, allocations: 233.7 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.2832, allocations: 488.1 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.284, allocations: 415.5 kB / 442.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002231/0.2862, allocations: 1.798 MB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007272/0.2869, allocations: 404.5 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.2877, allocations: 0.6656 MB / 445.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008813/0.2886, allocations: 0.6334 MB / 445.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.2889, allocations: 184 kB / 446 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.2892, allocations: 180 kB / 446.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.2895, allocations: 362.7 kB / 446.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.2902, allocations: 0.6494 MB / 447.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2924, allocations: 2.12 MB / 449.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2924, allocations: 4 kB / 449.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2924, allocations: 0 / 449.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.2924, allocations: 0 / 449.3 MB, free: 5.535 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.003184/0.2956, allocations: 1.693 MB / 451 MB, free: 3.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2957, allocations: 11.97 kB / 451 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.296, allocations: 168 kB / 451.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.2974, allocations: 0.742 MB / 451.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.591e-05/0.2974, allocations: 94.58 kB / 452 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.2976, allocations: 128 kB / 452.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.3002, allocations: 1.716 MB / 453.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.3003, allocations: 4 kB / 453.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.3004, allocations: 56 kB / 453.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.3004, allocations: 32 kB / 453.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.3024, allocations: 1.005 MB / 454.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007439/0.3098, allocations: 3.812 MB / 458.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.3115, allocations: 0.8333 MB / 459.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009502/0.3124, allocations: 435.8 kB / 460 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.3125, allocations: 17 kB / 460 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.3125, allocations: 43.56 kB / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.277e-06/0.3125, allocations: 0 / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.005166/0.3177, allocations: 1.718 MB / 461.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.3177, allocations: 90.05 kB / 461.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3189, allocations: 0.7466 MB / 462.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.3189, allocations: 45.7 kB / 462.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.3194, allocations: 0.6134 MB / 463.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.3197, allocations: 329.2 kB / 463.6 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.32, allocations: 186.9 kB / 463.8 MB, free: 6.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.3203, allocations: 402.7 kB / 464.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/0.3209, allocations: 302.5 kB / 464.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.3217, allocations: 0.4908 MB / 465 MB, free: 5.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.323, allocations: 0.8204 MB / 465.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.323, allocations: 0 / 465.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002916/0.326, allocations: 1.31 MB / 467.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.326, allocations: 14.44 kB / 467.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.326, allocations: 8 kB / 467.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.3275, allocations: 400.9 kB / 467.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.3283, allocations: 187.7 kB / 467.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.3446, allocations: 10.02 MB / 477.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3457, allocations: 115.3 kB / 477.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.3459, allocations: 40 kB / 477.9 MB, free: 7.652 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.0006891/0.3466, allocations: 285.9 kB / 478.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003024/0.3469, allocations: 103.3 kB / 478.2 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3471, allocations: 113.4 kB / 478.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3472, allocations: 16.22 kB / 478.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3472, allocations: 0 / 478.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.3472, allocations: 11.92 kB / 478.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005438/0.3526, allocations: 1.912 MB / 480.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.3526, allocations: 8 kB / 480.3 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.3534, allocations: 123.9 kB / 480.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.3554, allocations: 393 kB / 480.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.3555, allocations: 16 kB / 480.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/0.3716, allocations: 10.04 MB / 490.9 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3716, allocations: 0 / 490.9 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/0.3764, allocations: 1.639 MB / 492.5 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.3768, allocations: 107.2 kB / 492.6 MB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.377, allocations: 24 kB / 492.6 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.3781, allocations: 92.14 kB / 492.7 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.3784, allocations: 88.83 kB / 492.8 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.395e-05/0.3785, allocations: 28 kB / 492.8 MB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.3796, allocations: 0.5029 MB / 493.3 MB, free: 7.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3796, allocations: 0 / 493.3 MB, free: 7.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002093/0.3816, allocations: 399.1 kB / 493.7 MB, free: 7.012 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.0002777/0.3819, allocations: 142.6 kB / 493.9 MB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.3854, allocations: 1.509 MB / 495.4 MB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.3854, allocations: 8 kB / 495.4 MB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.3877, allocations: 1.158 MB / 496.5 MB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.3892, allocations: 201.7 kB / 496.7 MB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.3936, allocations: 2.304 MB / 499 MB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.3943, allocations: 0.5096 MB / 499.5 MB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.3946, allocations: 63.44 kB / 499.6 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3946, allocations: 0 / 499.6 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of Templates: time 0.05156/0.4462, allocations: 45.32 MB / 0.5322 GB, free: 3.516 MB / 446.1 MB " [Timeout remaining time 660] 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.263871198054403]