Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001794/0.001794, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001478/0.001478, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.91 kB / 378.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3137, allocations: 53.41 MB / 431.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005785/0.3195, allocations: 2.891 MB / 434.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3213, allocations: 0.7364 MB / 435.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.3215, allocations: 7.938 kB / 435.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3217, allocations: 55.5 kB / 435.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.322, allocations: 123 kB / 435.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.3223, allocations: 107.8 kB / 435.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.3229, allocations: 458.2 kB / 436 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.3232, allocations: 102 kB / 436.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.3235, allocations: 179.3 kB / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3238, allocations: 175.1 kB / 436.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.3239, allocations: 48 kB / 436.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.3239, allocations: 44 kB / 436.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.324, allocations: 91.69 kB / 436.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3242, allocations: 163.2 kB / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.3249, allocations: 0.5017 MB / 437.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.3249, allocations: 7.938 kB / 437.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3249, allocations: 0 / 437.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3249, allocations: 0 / 437.3 MB, free: 0.8672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001464/0.3263, allocations: 0.6354 MB / 438 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.3264, allocations: 11.98 kB / 438 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.3265, allocations: 40.7 kB / 438 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.3271, allocations: 264.9 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3271, allocations: 21.03 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.3272, allocations: 24.38 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000765/0.3279, allocations: 395.1 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.328, allocations: 0 / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.328, allocations: 12 kB / 438.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.328, allocations: 8 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.3287, allocations: 286.4 kB / 439 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.3309, allocations: 0.9996 MB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.3315, allocations: 222.4 kB / 440.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.3319, allocations: 123.5 kB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3319, allocations: 4 kB / 440.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005866/0.3325, allocations: 276.1 kB / 440.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.3325, allocations: 0 / 440.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001563/0.3341, allocations: 433.9 kB / 441 MB, free: 12.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.3342, allocations: 136.5 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3346, allocations: 281.8 kB / 441.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3346, allocations: 33.7 kB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3348, allocations: 212.3 kB / 441.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.3349, allocations: 71.42 kB / 441.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.335, allocations: 53.98 kB / 441.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3351, allocations: 338.8 kB / 442.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.3355, allocations: 129.9 kB / 442.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.3359, allocations: 311.9 kB / 442.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.3366, allocations: 319.4 kB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3366, allocations: 0 / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001081/0.3377, allocations: 457.2 kB / 443.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.3377, allocations: 39.98 kB / 443.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3378, allocations: 4 kB / 443.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.3381, allocations: 65.11 kB / 443.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.3384, allocations: 67.83 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.3403, allocations: 1.482 MB / 445 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3407, allocations: 55.73 kB / 445 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.3407, allocations: 16 kB / 445 MB, free: 8.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.3409, allocations: 153.3 kB / 445.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.341, allocations: 23.92 kB / 445.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.341, allocations: 34.11 kB / 445.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.341, allocations: 7.938 kB / 445.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.341, allocations: 0 / 445.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.341, allocations: 3.984 kB / 445.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.3424, allocations: 0.6388 MB / 445.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3424, allocations: 0 / 445.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.3427, allocations: 43.91 kB / 445.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.3429, allocations: 52.8 kB / 446 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.3429, allocations: 8 kB / 446 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.3447, allocations: 1.466 MB / 447.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3447, allocations: 7.922 kB / 447.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3458, allocations: 0.493 MB / 448 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.3459, allocations: 39.7 kB / 448 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.346, allocations: 4 kB / 448 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.3462, allocations: 36.02 kB / 448.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.3463, allocations: 23.97 kB / 448.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3464, allocations: 7.984 kB / 448.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.3466, allocations: 197.2 kB / 448.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3466, allocations: 0 / 448.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.3471, allocations: 83.89 kB / 448.4 MB, free: 5.129 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.3472, allocations: 111.1 kB / 448.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3483, allocations: 453.1 kB / 448.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3483, allocations: 0 / 448.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.3488, allocations: 247.2 kB / 449.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.3492, allocations: 67.16 kB / 449.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3512, allocations: 0.6517 MB / 449.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.3513, allocations: 161.2 kB / 450 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.3515, allocations: 34.95 kB / 450.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.3516, allocations: 23.44 kB / 450.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3516, allocations: 0 / 450.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of Templates: time 0.01072/0.3623, allocations: 4.898 MB / 455 MB, free: 14.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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: 4.851683851331472]