Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.594/1.594, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4501, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003748/0.4539, allocations: 1.59 MB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4552, allocations: 0.4987 MB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.4554, allocations: 7.938 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.4554, allocations: 7.922 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.4556, allocations: 7.875 kB / 434.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.456, allocations: 63.81 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.4562, allocations: 51.78 kB / 434.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4563, allocations: 16.17 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.4565, allocations: 27.92 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4566, allocations: 27.84 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.4567, allocations: 4 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.4567, allocations: 4 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.43e-05/0.4568, allocations: 11.94 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.4568, allocations: 23.86 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.457, allocations: 66.28 kB / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.457, allocations: 0 / 434.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.457, allocations: 4 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.457, allocations: 0 / 434.7 MB, free: 4.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005672/0.4576, allocations: 309.9 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4576, allocations: 8.031 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.4578, allocations: 20.88 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.4582, allocations: 146.9 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4582, allocations: 4.375 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4582, allocations: 11.94 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.4586, allocations: 117.9 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4586, allocations: 3.938 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4586, allocations: 0 / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4586, allocations: 0 / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.4587, allocations: 19.98 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.4591, allocations: 226.2 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.4592, allocations: 71.78 kB / 435.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.4593, allocations: 30.62 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.4593, allocations: 4 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4594, allocations: 30.56 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.4594, allocations: 3.938 kB / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003596/0.4597, allocations: 85.91 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4598, allocations: 118.8 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.46, allocations: 141.8 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.46, allocations: 29.7 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.4601, allocations: 88.12 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.4601, allocations: 4 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.4602, allocations: 21.67 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4604, allocations: 322.8 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.4604, allocations: 8 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.4605, allocations: 39.36 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.4606, allocations: 47.36 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4606, allocations: 4 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001582/0.4607, allocations: 69.55 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.4608, allocations: 8 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4608, allocations: 0 / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4608, allocations: 4.125 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.806e-05/0.4609, allocations: 8 kB / 436.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4609, allocations: 7.984 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.4609, allocations: 0 / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.461, allocations: 7.938 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001027/0.4611, allocations: 113.8 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.4612, allocations: 61.53 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.4612, allocations: 11.97 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4612, allocations: 0 / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4612, allocations: 4.062 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4612, allocations: 3.984 kB / 436.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.4614, allocations: 121.2 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4614, allocations: 0 / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.4615, allocations: 11.98 kB / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4615, allocations: 96 / 437.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4615, allocations: 8 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4615, allocations: 0 / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4615, allocations: 3.984 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.4618, allocations: 181.1 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.4618, allocations: 23.88 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.4618, allocations: 4 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.4619, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.462, allocations: 4 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.462, allocations: 0 / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.4621, allocations: 121.2 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4621, allocations: 0 / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.4623, allocations: 7.938 kB / 437.4 MB, free: 1.344 MB / 334.1 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.0001222/0.4624, allocations: 95.25 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.4626, allocations: 43.91 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4626, allocations: 0 / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.4626, allocations: 11.88 kB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.463, allocations: 22.77 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.4635, allocations: 184.6 kB / 437.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.4636, allocations: 87.7 kB / 437.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.098e-05/0.4637, allocations: 4 kB / 437.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4637, allocations: 11.44 kB / 437.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4637, allocations: 0 / 437.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Templates: time 0.003775/0.4675, allocations: 0.6935 MB / 438.5 MB, free: 160 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.311811685998691]