Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001/0.001, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009021/0.0009021, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9803/0.9803, allocations: 173.3 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.672e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00233/0.002357, allocations: 1.726 MB / 269.7 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003737/0.002731, allocations: 167.3 kB / 269.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.002806, allocations: 7.938 kB / 269.9 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.002853, allocations: 7.922 kB / 269.9 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.002981, allocations: 11.92 kB / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.003197, allocations: 47.77 kB / 270 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.003291, allocations: 59.78 kB / 270 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.003387, allocations: 19.97 kB / 270 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.003436, allocations: 35.91 kB / 270.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.003481, allocations: 11.98 kB / 270.1 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.003503, allocations: 4 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.003512, allocations: 4 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.003563, allocations: 23.91 kB / 270.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.003587, allocations: 15.94 kB / 270.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.003699, allocations: 51.7 kB / 270.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003701, allocations: 4 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.003703, allocations: 3.984 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.003708, allocations: 0 / 270.2 MB, free: 4.215 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000372/0.00408, allocations: 408.2 kB / 270.6 MB, free: 3.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.00412, allocations: 16.92 kB / 270.6 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.00416, allocations: 16.84 kB / 270.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.004315, allocations: 148.3 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.004324, allocations: 8.375 kB / 270.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.004334, allocations: 4.375 kB / 270.8 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.004599, allocations: 173.2 kB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.004607, allocations: 4.172 kB / 271 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.004616, allocations: 4.375 kB / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004623, allocations: 384 / 271 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.004661, allocations: 19.88 kB / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.004961, allocations: 414.3 kB / 271.4 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.005133, allocations: 121.2 kB / 271.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.005181, allocations: 47.17 kB / 271.6 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.005203, allocations: 4 kB / 271.6 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.005229, allocations: 45.39 kB / 271.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.00523, allocations: 0 / 271.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001974/0.005427, allocations: 105.6 kB / 271.7 MB, free: 2.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.005474, allocations: 106.8 kB / 271.8 MB, free: 2.375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.005562, allocations: 192.9 kB / 272 MB, free: 2.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.005572, allocations: 25.7 kB / 272 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.005616, allocations: 134.9 kB / 272.2 MB, free: 2.004 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.005631, allocations: 11.94 kB / 272.2 MB, free: 1.992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.005658, allocations: 19.38 kB / 272.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.005756, allocations: 496.4 kB / 272.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.005767, allocations: 8 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.005782, allocations: 15.38 kB / 272.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.005808, allocations: 27.3 kB / 272.7 MB, free: 1.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00581, allocations: 4 kB / 272.7 MB, free: 1.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.731e-05/0.005857, allocations: 41.66 kB / 272.8 MB, free: 1.352 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.005871, allocations: 7.938 kB / 272.8 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.005877, allocations: 4 kB / 272.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.005889, allocations: 4.125 kB / 272.8 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.49e-05/0.005924, allocations: 11.92 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.005929, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.005944, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.00595, allocations: 4 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0003152/0.006265, allocations: 156.6 kB / 272.9 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.006336, allocations: 69.64 kB / 273 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.006365, allocations: 20.66 kB / 273 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.006368, allocations: 4 kB / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.006371, allocations: 0 / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.006374, allocations: 7.984 kB / 273 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.006507, allocations: 136.5 kB / 273.2 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006509, allocations: 4 kB / 273.2 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.00655, allocations: 19.92 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.006552, allocations: 4 kB / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006559, allocations: 0 / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.006562, allocations: 3.938 kB / 273.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.006564, allocations: 4 kB / 273.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.006794, allocations: 402.2 kB / 273.6 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.006824, allocations: 19.94 kB / 273.6 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.006835, allocations: 4 kB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.006881, allocations: 4 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.006909, allocations: 4 kB / 273.6 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.006912, allocations: 0 / 273.6 MB, free: 400 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.006963, allocations: 151.1 kB / 273.8 MB, free: 248 kB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006963, allocations: 0 / 273.8 MB, free: 248 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.007119, allocations: 8 kB / 273.8 MB, free: 240 kB / 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 (10): * Single equations (assignments): 10 * 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 7.375e-05/0.007193, allocations: 95.25 kB / 273.9 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.548e-05/0.007288, allocations: 35.61 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00729, allocations: 4 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.007301, allocations: 7.688 kB / 273.9 MB, free: 80 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.007598, allocations: 48.86 kB / 274 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.00791, allocations: 199.5 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.353e-05/0.007964, allocations: 75.27 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.007985, allocations: 3.938 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.008012, allocations: 20.75 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008013, allocations: 0 / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Templates: time 0.002509/0.01052, allocations: 0.7134 MB / 275 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.7753317169845104]