Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001919/0.001919, 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.001887/0.001887, allocations: 149.1 kB / 24.26 MB, free: 168 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.532/1.532, allocations: 173.3 MB / 200.8 MB, free: 9.336 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.652e-05, allocations: 5.828 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003043/0.003069, allocations: 1.62 MB / 268.9 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.004009, allocations: 482.5 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.004072, allocations: 4 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.588e-05/0.004158, allocations: 11.81 kB / 269.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.00425, allocations: 19.84 kB / 269.5 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.004467, allocations: 39.89 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.004595, allocations: 67.72 kB / 269.6 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.004684, allocations: 15.91 kB / 269.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.004785, allocations: 39.91 kB / 269.6 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.00485, allocations: 11.98 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.004873, allocations: 4 kB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.004888, allocations: 7.938 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.004944, allocations: 27.84 kB / 269.7 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.00498, allocations: 12 kB / 269.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.005114, allocations: 67.72 kB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005116, allocations: 0 / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005117, allocations: 4 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.005121, allocations: 0 / 269.7 MB, free: 4.309 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005732/0.005694, allocations: 423.8 kB / 270.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.005727, allocations: 8.922 kB / 270.2 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.005785, allocations: 16.89 kB / 270.2 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006017, allocations: 152.3 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.006028, allocations: 4.375 kB / 270.3 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.00604, allocations: 4.375 kB / 270.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.00634, allocations: 128.6 kB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.006348, allocations: 192 / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.006357, allocations: 384 / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.006381, allocations: 11.88 kB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.006481, allocations: 23.98 kB / 270.5 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.007048, allocations: 426.3 kB / 270.9 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.007225, allocations: 97.23 kB / 271 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/0.007312, allocations: 43.11 kB / 271.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.007332, allocations: 4 kB / 271.1 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.007372, allocations: 37.33 kB / 271.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.007373, allocations: 0 / 271.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003519/0.007725, allocations: 89.5 kB / 271.2 MB, free: 2.672 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.007814, allocations: 102.8 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.008015, allocations: 217.1 kB / 271.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.00804, allocations: 30.08 kB / 271.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.008226, allocations: 154.8 kB / 271.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.008243, allocations: 3.953 kB / 271.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.008284, allocations: 19.38 kB / 271.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.008537, allocations: 0.4923 MB / 272.2 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.008587, allocations: 8 kB / 272.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.008663, allocations: 35.3 kB / 272.2 MB, free: 1.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.008775, allocations: 39.36 kB / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008776, allocations: 4.062 kB / 272.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001538/0.00893, allocations: 65.52 kB / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008945, allocations: 7.984 kB / 272.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.008949, allocations: 0 / 272.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.008964, allocations: 4 kB / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.009041, allocations: 4 kB / 272.4 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.009046, allocations: 0 / 272.4 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.009091, allocations: 4 kB / 272.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.009103, allocations: 7.969 kB / 272.4 MB, free: 1.395 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.0001165/0.00922, allocations: 164.6 kB / 272.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-05/0.009308, allocations: 45.53 kB / 272.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.009348, allocations: 19.91 kB / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.009363, allocations: 4 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.009366, allocations: 0 / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009368, allocations: 0 / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.009604, allocations: 140.6 kB / 272.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.009607, allocations: 0 / 272.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.009665, allocations: 11.94 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.009667, allocations: 32 / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.009677, allocations: 7.938 kB / 272.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009678, allocations: 0 / 272.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.009681, allocations: 7.984 kB / 272.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.01001, allocations: 346.7 kB / 273.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.01007, allocations: 27.84 kB / 273.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01008, allocations: 3.938 kB / 273.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01019, allocations: 11.97 kB / 273.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.01023, allocations: 0 / 273.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01024, allocations: 4 kB / 273.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.01036, allocations: 163.2 kB / 273.3 MB, free: 384 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01036, allocations: 0 / 273.3 MB, free: 384 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.01061, allocations: 4 kB / 273.3 MB, free: 380 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001073/0.01072, allocations: 95.25 kB / 273.4 MB, free: 276 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.01089, allocations: 43.59 kB / 273.4 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01089, allocations: 0 / 273.4 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.01096, allocations: 19.69 kB / 273.5 MB, free: 204 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.01139, allocations: 27.64 kB / 273.5 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.01185, allocations: 213 kB / 273.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.01195, allocations: 75.33 kB / 273.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.012, allocations: 7.984 kB / 273.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.01203, allocations: 12.5 kB / 273.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01203, allocations: 96 / 273.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Templates: time 0.003592/0.01562, allocations: 0.7387 MB / 274.5 MB, free: 15.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.312802445027046]