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.0009862/0.0009862, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001227/0.001227, allocations: 170 kB / 24.91 MB, free: 9.18 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 1.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.402e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002412/0.002436, allocations: 1.721 MB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.003299, allocations: 0.5529 MB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.003379, allocations: 7.938 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.003477, allocations: 3.938 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.936e-05/0.003577, allocations: 15.8 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.00384, allocations: 67.73 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.003953, allocations: 67.72 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.004038, allocations: 15.97 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004153, allocations: 39.84 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.004208, allocations: 23.91 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.004226, allocations: 4 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.004287, allocations: 11.98 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.004336, allocations: 23.92 kB / 276 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.004361, allocations: 15.88 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004487, allocations: 51.81 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00449, allocations: 4 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004491, allocations: 0 / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.004496, allocations: 0 / 276.1 MB, free: 14.61 MB / 266.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.0003196/0.004816, allocations: 304.4 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.004847, allocations: 12.03 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.004975, allocations: 24.92 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.005134, allocations: 150.2 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.005143, allocations: 8.375 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.00515, allocations: 4.375 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.005315, allocations: 120.8 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005322, allocations: 192 / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005328, allocations: 384 / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.005352, allocations: 11.92 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.005373, allocations: 6.828 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.005589, allocations: 266.8 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.005646, allocations: 66.61 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.005665, allocations: 18.64 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.005675, allocations: 0 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.005693, allocations: 34.56 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.005695, allocations: 0 / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.005854, allocations: 61.5 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.005897, allocations: 107.2 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.005968, allocations: 152.6 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.005978, allocations: 29.69 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.006007, allocations: 88.14 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.006023, allocations: 7.938 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.006048, allocations: 17.7 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.006115, allocations: 322.8 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.006126, allocations: 0 / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.006145, allocations: 17.66 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.006174, allocations: 20.53 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006176, allocations: 4.062 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.291e-05/0.006229, allocations: 49.62 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.00624, allocations: 4 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.006245, allocations: 3.938 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.006254, allocations: 0 / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.006302, allocations: 11.98 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006304, allocations: 0 / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.006322, allocations: 0 / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006327, allocations: 4 kB / 278 MB, free: 12.49 MB / 266.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.107e-05/0.006378, allocations: 112.7 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.006425, allocations: 41.62 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.006448, allocations: 15.91 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.006458, allocations: 7.984 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.00646, allocations: 0 / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.006462, allocations: 0 / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.006573, allocations: 89.81 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.006575, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.006598, allocations: 11.98 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.006599, allocations: 0 / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.006604, allocations: 4.031 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.006606, allocations: 4 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.006608, allocations: 7.938 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.07e-05/0.006699, allocations: 226.4 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.006726, allocations: 15.94 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.006735, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.006787, allocations: 4 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.006814, allocations: 3.938 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.006818, allocations: 3.984 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.798e-05/0.006846, allocations: 42.3 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006846, allocations: 4.031 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.006988, allocations: 8 kB / 278.6 MB, free: 11.84 MB / 266.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 7.855e-05/0.007066, allocations: 80.36 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.947e-05/0.007126, allocations: 24.72 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.007128, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.007142, allocations: 8.859 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.00737, allocations: 27.73 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.007737, allocations: 213 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.007774, allocations: 63.34 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.427e-05/0.007799, allocations: 3.984 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.007847, allocations: 55.38 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.007848, allocations: 0 / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.002183/0.01003, allocations: 0.7457 MB / 279.8 MB, free: 10.58 MB / 266.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] 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","",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.6853416403755546]