Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001004/0.001004, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.00529/0.00529, allocations: 156.9 kB / 24.7 MB, free: 8.348 MB / 18.57 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 0.8359/0.8359, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.751e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001716/0.001733, allocations: 1.621 MB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000607/0.00234, allocations: 0.5297 MB / 328 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.002411, allocations: 7.938 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.666e-05/0.002498, allocations: 7.875 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.002596, allocations: 19.84 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.002825, allocations: 63.75 kB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.265e-05/0.002918, allocations: 63.7 kB / 328.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.384e-05/0.003002, allocations: 11.98 kB / 328.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.003099, allocations: 55.83 kB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.003146, allocations: 19.91 kB / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.00316, allocations: 4 kB / 328.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.215e-05/0.003193, allocations: 8 kB / 328.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.003235, allocations: 19.92 kB / 328.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.003258, allocations: 15.94 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003376, allocations: 75.7 kB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003378, allocations: 0 / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.003379, allocations: 0 / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003383, allocations: 4 kB / 328.4 MB, free: 12.88 MB / 298.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.00035/0.003733, allocations: 325.8 kB / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.003762, allocations: 8.031 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.003884, allocations: 28.86 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.004042, allocations: 149.5 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004053, allocations: 4.375 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-06/0.004061, allocations: 4.375 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.004268, allocations: 130.4 kB / 329 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.004274, allocations: 4.125 kB / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004282, allocations: 384 / 329 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.004301, allocations: 11.94 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.004369, allocations: 43.84 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.004633, allocations: 325.5 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.908e-05/0.004712, allocations: 83.77 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.004755, allocations: 38.62 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.004767, allocations: 3.938 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.004785, allocations: 38.5 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004786, allocations: 4 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002059/0.004992, allocations: 109.9 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.005038, allocations: 118.8 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.005129, allocations: 158.9 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005139, allocations: 25.7 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.005184, allocations: 96.09 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.005201, allocations: 3.953 kB / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.005228, allocations: 21.7 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.005296, allocations: 314.8 kB / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.00533, allocations: 15.98 kB / 330.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.005363, allocations: 29.7 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/0.005426, allocations: 45.75 kB / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005428, allocations: 0 / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.918e-05/0.005517, allocations: 73.5 kB / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.005529, allocations: 11.98 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005533, allocations: 0 / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.005543, allocations: 4.062 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/0.005589, allocations: 4 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005593, allocations: 4 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.005616, allocations: 7.984 kB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.005623, allocations: 4 kB / 330.6 MB, free: 10.43 MB / 298.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 5.241e-05/0.005675, allocations: 117.8 kB / 330.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.005719, allocations: 53.53 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.00574, allocations: 19.91 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.005747, allocations: 4 kB / 330.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.005751, allocations: 8.031 kB / 330.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.005755, allocations: 4 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.005867, allocations: 121.3 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.005869, allocations: 0 / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.00589, allocations: 11.98 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005891, allocations: 3.938 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.005898, allocations: 3.938 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0059, allocations: 4 kB / 330.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.0059, allocations: 3.938 kB / 330.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.006041, allocations: 279.5 kB / 331.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.006067, allocations: 19.94 kB / 331.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.006078, allocations: 3.938 kB / 331.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.006133, allocations: 7.984 kB / 331.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.006161, allocations: 0 / 331.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006163, allocations: 4 kB / 331.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.006213, allocations: 123.2 kB / 331.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006213, allocations: 0 / 331.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.006377, allocations: 4 kB / 331.4 MB, free: 9.586 MB / 298.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 5.843e-05/0.006435, allocations: 103.2 kB / 331.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.006538, allocations: 47.91 kB / 331.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.00654, allocations: 0 / 331.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.006573, allocations: 19.98 kB / 331.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.007087, allocations: 27.94 kB / 331.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.007352, allocations: 242 kB / 331.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.066e-05/0.007413, allocations: 85.11 kB / 331.9 MB, free: 9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.007438, allocations: 16.5 kB / 331.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.007439, allocations: 0 / 331.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of Templates: time 0.001472/0.008911, allocations: 0.9774 MB / 332.9 MB, free: 8.016 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.0539604453369975]