Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.0009626/0.0009626, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001023/0.001023, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9805/0.9805, allocations: 177 MB / 205.2 MB, free: 5.055 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.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.831e-05, allocations: 2.312 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002595/0.002614, allocations: 1.649 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004059/0.003019, allocations: 147.4 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.003095, allocations: 4 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.003138, allocations: 3.938 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.003268, allocations: 15.88 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.003449, allocations: 39.83 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.003531, allocations: 31.86 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.738e-05/0.003599, allocations: 11.98 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.003643, allocations: 19.97 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.003681, allocations: 11.94 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.003697, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.003706, allocations: 4 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.003746, allocations: 15.98 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.003767, allocations: 11.92 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.003854, allocations: 43.77 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003855, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003856, allocations: 0 / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.00386, allocations: 0 / 275.4 MB, free: 15.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002734/0.004133, allocations: 264.7 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.004165, allocations: 11.98 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.004188, allocations: 4.938 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.004314, allocations: 137.6 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.00432, allocations: 4.375 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.004327, allocations: 4.375 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.004487, allocations: 122.2 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004493, allocations: 192 / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.0045, allocations: 4.359 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004504, allocations: 384 / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.407e-05/0.004518, allocations: 7.938 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.004664, allocations: 161 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.004752, allocations: 45.19 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.004773, allocations: 21.77 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.004783, allocations: 0 / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004802, allocations: 38.5 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004802, allocations: 0 / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.482e-05/0.004897, allocations: 49.62 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.004939, allocations: 85.05 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.005009, allocations: 126.8 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.005017, allocations: 29.7 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.005047, allocations: 84.14 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.005062, allocations: 11.94 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.005084, allocations: 13.7 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.005156, allocations: 314.8 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.005161, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.005167, allocations: 4 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.529e-05/0.005183, allocations: 8.859 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005184, allocations: 0 / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.651e-05/0.005221, allocations: 41.69 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.005231, allocations: 8 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.005235, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.005242, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.833e-05/0.005271, allocations: 7.938 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.005273, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.005283, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.005287, allocations: 3.938 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.005335, allocations: 112.7 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.005368, allocations: 41.69 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.00539, allocations: 16.3 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005392, allocations: 4 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.005397, allocations: 3.938 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.0054, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.502e-05/0.005475, allocations: 73.88 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005476, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.005498, allocations: 12 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.005499, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-06/0.005502, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005503, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005504, allocations: 4 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.048e-05/0.005564, allocations: 140.6 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.005584, allocations: 11.94 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.005593, allocations: 11.92 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.005619, allocations: 4 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.005639, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.005643, allocations: 4 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.091e-05/0.005664, allocations: 31.72 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005664, allocations: 0 / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001055/0.005769, allocations: 4 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.66e-05/0.005826, allocations: 84.39 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.282e-05/0.005869, allocations: 16.84 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.005872, allocations: 4 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.005881, allocations: 8.797 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.006034, allocations: 16.81 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.006228, allocations: 159.2 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.006263, allocations: 63.34 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.006278, allocations: 8.125 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.006317, allocations: 51.38 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006317, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.001811/0.008128, allocations: 0.5414 MB / 278.4 MB, free: 11.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.5887910998426378]