Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003085/0.003085, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.792e-05, allocations: 6.25 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003421/0.003459, allocations: 1.585 MB / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.004607, allocations: 478.4 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.372e-05/0.0047, allocations: 3.938 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.004764, allocations: 3.938 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.004908, allocations: 15.92 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.005206, allocations: 43.83 kB / 269.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.005336, allocations: 47.86 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005444, allocations: 16.09 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.005555, allocations: 31.86 kB / 269.5 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.005619, allocations: 19.91 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.005643, allocations: 4 kB / 269.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.005658, allocations: 4 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.005727, allocations: 15.92 kB / 269.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.005757, allocations: 7.938 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.005923, allocations: 55.8 kB / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005925, allocations: 0 / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005927, allocations: 4 kB / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005932, allocations: 0 / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000623/0.006555, allocations: 404 kB / 270 MB, free: 3.941 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.006603, allocations: 12.92 kB / 270.1 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.006659, allocations: 16.83 kB / 270.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.006941, allocations: 148.4 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.006957, allocations: 8.375 kB / 270.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.006972, allocations: 4.375 kB / 270.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.007297, allocations: 128.6 kB / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.007305, allocations: 192 / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.007318, allocations: 4.125 kB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.007325, allocations: 4 kB / 270.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.881e-05/0.007404, allocations: 23.86 kB / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.007827, allocations: 283.2 kB / 270.7 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.007999, allocations: 97.3 kB / 270.8 MB, free: 3.094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.008082, allocations: 39.06 kB / 270.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.008108, allocations: 0 / 270.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.008162, allocations: 53.25 kB / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.008163, allocations: 0 / 270.8 MB, free: 2.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003078/0.00847, allocations: 73.58 kB / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.008574, allocations: 106.8 kB / 271 MB, free: 2.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.008804, allocations: 210.3 kB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.008827, allocations: 29.7 kB / 271.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.008935, allocations: 134.9 kB / 271.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.008952, allocations: 3.953 kB / 271.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.009003, allocations: 27.36 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002872/0.00929, allocations: 496.1 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.009327, allocations: 7.938 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.009351, allocations: 4 kB / 271.9 MB, free: 1.832 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.009431, allocations: 23.67 kB / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.009435, allocations: 0 / 271.9 MB, free: 1.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001079/0.009543, allocations: 53.64 kB / 272 MB, free: 1.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.009559, allocations: 4 kB / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009564, allocations: 0 / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.009579, allocations: 0 / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.009647, allocations: 4 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009652, allocations: 0 / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.009693, allocations: 3.938 kB / 272 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.009706, allocations: 7.984 kB / 272 MB, free: 1.727 MB / 250.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 0.0001301/0.009836, allocations: 156.6 kB / 272.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.009932, allocations: 57.62 kB / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.009981, allocations: 19.91 kB / 272.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009983, allocations: 0 / 272.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.00999, allocations: 3.984 kB / 272.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.009996, allocations: 4 kB / 272.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.0102, allocations: 136.6 kB / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.0102, allocations: 3.938 kB / 272.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.01026, allocations: 11.98 kB / 272.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01026, allocations: 3.938 kB / 272.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01027, allocations: 7.938 kB / 272.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.01028, allocations: 8.062 kB / 272.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01028, allocations: 0 / 272.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.01056, allocations: 227.2 kB / 272.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.01061, allocations: 23.88 kB / 272.7 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01062, allocations: 3.938 kB / 272.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.01069, allocations: 4 kB / 272.7 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.01073, allocations: 0 / 272.7 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01074, allocations: 4 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.01086, allocations: 154.2 kB / 272.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01086, allocations: 0 / 272.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.01108, allocations: 8 kB / 272.8 MB, free: 0.8242 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 0.0001344/0.01121, allocations: 99.25 kB / 272.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.01136, allocations: 27.67 kB / 273 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01136, allocations: 0 / 273 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.01141, allocations: 15.62 kB / 273 MB, free: 0.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.01181, allocations: 28.3 kB / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.01226, allocations: 204.6 kB / 273.2 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01236, allocations: 75.33 kB / 273.3 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.0124, allocations: 0 / 273.3 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.01244, allocations: 12.5 kB / 273.3 MB, free: 308 kB / 250.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01244, allocations: 0 / 273.3 MB, free: 308 kB / 250.7 MB Notification: Performance of Templates: time 0.00419/0.01663, allocations: 0.6269 MB / 273.9 MB, free: 15.69 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.4583890279755]