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.0009285/0.0009285, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009239/0.0009239, allocations: 161.1 kB / 24.91 MB, free: 8.73 MB / 18.57 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 0.9829/0.9829, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764e-06/1.764e-06, allocations: 3.938 kB / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.699e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002857/0.002874, allocations: 3.114 MB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003884, allocations: 0.775 MB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.004014, allocations: 11.94 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.00415, allocations: 63.38 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.004394, allocations: 119 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.004623, allocations: 119.7 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.004956, allocations: 469.9 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.005111, allocations: 94.12 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.005394, allocations: 275.3 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.005556, allocations: 159.5 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.005597, allocations: 44 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.005636, allocations: 48 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.005684, allocations: 87.67 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.005776, allocations: 143.6 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.006022, allocations: 287 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006024, allocations: 0 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006025, allocations: 0 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006029, allocations: 0 / 279.2 MB, free: 11.2 MB / 266.7 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.0006693/0.006698, allocations: 0.6028 MB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.006727, allocations: 15.98 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.006787, allocations: 48.89 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.007003, allocations: 204.8 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.007018, allocations: 21.03 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.007052, allocations: 32.31 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.007317, allocations: 300.3 kB / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007326, allocations: 192 / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.007344, allocations: 15.94 kB / 280.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.007351, allocations: 8 kB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.007452, allocations: 80.55 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.008306, allocations: 0.7799 MB / 281.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.008453, allocations: 114.5 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.008524, allocations: 64.75 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.00854, allocations: 0 / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.008704, allocations: 212.1 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.008705, allocations: 0 / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.000373/0.009078, allocations: 201.5 kB / 281.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.009125, allocations: 140.5 kB / 282 MB, free: 8.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.009265, allocations: 256.8 kB / 282.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.009283, allocations: 33.7 kB / 282.3 MB, free: 7.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.009354, allocations: 188.8 kB / 282.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.00939, allocations: 71.41 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.009448, allocations: 53.92 kB / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.00953, allocations: 346.8 kB / 283 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.009577, allocations: 53.83 kB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.009688, allocations: 236.4 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.009818, allocations: 178.9 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.00982, allocations: 0 / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002554/0.01008, allocations: 273.4 kB / 283.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.0101, allocations: 29.7 kB / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01011, allocations: 4 kB / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.01027, allocations: 53.12 kB / 283.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.01043, allocations: 79.88 kB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007363/0.01117, allocations: 1.259 MB / 285.1 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01129, allocations: 39.83 kB / 285.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.0113, allocations: 20.02 kB / 285.2 MB, free: 4.754 MB / 266.7 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 8.509e-05/0.01139, allocations: 133.7 kB / 285.3 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.01141, allocations: 23.98 kB / 285.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.01144, allocations: 26.11 kB / 285.4 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01144, allocations: 7.938 kB / 285.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.01144, allocations: 0 / 285.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01144, allocations: 7.922 kB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.01181, allocations: 396.1 kB / 285.8 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01181, allocations: 4 kB / 285.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.01193, allocations: 39.97 kB / 285.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.01205, allocations: 56.78 kB / 285.9 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01206, allocations: 7.938 kB / 285.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005801/0.01264, allocations: 1.258 MB / 287.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.01264, allocations: 4 kB / 287.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.01295, allocations: 273 kB / 287.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.01298, allocations: 31.73 kB / 287.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01301, allocations: 7.984 kB / 287.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01312, allocations: 24.05 kB / 287.5 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.01317, allocations: 27.95 kB / 287.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01318, allocations: 7.938 kB / 287.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.01324, allocations: 86.77 kB / 287.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01324, allocations: 0 / 287.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.01345, allocations: 87.84 kB / 287.7 MB, free: 2.109 MB / 266.7 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 8.317e-05/0.01354, allocations: 88.36 kB / 287.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.01384, allocations: 327.4 kB / 288.1 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.01384, allocations: 4 kB / 288.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01397, allocations: 179.3 kB / 288.3 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01418, allocations: 57.08 kB / 288.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.01532, allocations: 0.5875 MB / 288.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.919e-05/0.0154, allocations: 96.61 kB / 289 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.01557, allocations: 34.95 kB / 289 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.01579, allocations: 111.3 kB / 289.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of SimCode: time 1.663e-06/0.01579, allocations: 0 / 289.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of Templates: time 0.1332/0.149, allocations: 4.815 MB / 293.9 MB, free: 25.11 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6962221232242882]