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.001902/0.001902, allocations: 91.62 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.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.0022/0.0022, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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.687/1.687, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 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.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.703e-06/1.703e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.182e-05, allocations: 6.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003224/0.003256, allocations: 1.627 MB / 274 MB, free: 164 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004433, allocations: 0.5531 MB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.004521, allocations: 0 / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.004636, allocations: 11.88 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.004747, allocations: 15.86 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.005065, allocations: 67.67 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.00521, allocations: 63.78 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.005314, allocations: 19.92 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.005471, allocations: 39.89 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.005537, allocations: 23.92 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.00556, allocations: 4 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.005605, allocations: 8 kB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.005662, allocations: 15.92 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.005708, allocations: 23.91 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.005886, allocations: 79.66 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005889, allocations: 0 / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00589, allocations: 0 / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.005895, allocations: 0 / 274.9 MB, free: 15.23 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.0006098/0.006505, allocations: 423.8 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.006543, allocations: 16.03 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.006766, allocations: 28.88 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.007016, allocations: 157 kB / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.007025, allocations: 384 / 275.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.007041, allocations: 8.312 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.007337, allocations: 120.6 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.007346, allocations: 4.188 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.007365, allocations: 384 / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.007398, allocations: 15.88 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.007505, allocations: 23.98 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.008038, allocations: 430.3 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.008209, allocations: 93.23 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.008287, allocations: 35.11 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.008307, allocations: 12 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.00835, allocations: 37.33 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.008352, allocations: 0 / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003334/0.008685, allocations: 89.5 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.008771, allocations: 106.8 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.008972, allocations: 219.9 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.008991, allocations: 25.7 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.009091, allocations: 151.1 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.00911, allocations: 11.95 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.009158, allocations: 23.36 kB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.009417, allocations: 0.4884 MB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.69e-05/0.009474, allocations: 11.98 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.843e-05/0.009532, allocations: 27.38 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.009641, allocations: 39.3 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009643, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001589/0.009801, allocations: 73.56 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.009818, allocations: 6.344 kB / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009822, allocations: 0 / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.009834, allocations: 0 / 277.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.009913, allocations: 11.98 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.00992, allocations: 3.984 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.009961, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.009971, allocations: 4 kB / 277.5 MB, free: 12.29 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 0.0001187/0.01009, allocations: 160.6 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.01019, allocations: 49.64 kB / 277.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.01022, allocations: 15.91 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.01024, allocations: 4 kB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01024, allocations: 4 kB / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01025, allocations: 0 / 277.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.01048, allocations: 140.6 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.01048, allocations: 4 kB / 277.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.01054, allocations: 11.92 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01054, allocations: 0 / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.01056, allocations: 7.938 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01056, allocations: 8.031 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01056, allocations: 0 / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.0109, allocations: 354.6 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.01095, allocations: 15.94 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01097, allocations: 3.938 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01108, allocations: 4 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.01113, allocations: 3.984 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.01114, allocations: 8 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.01127, allocations: 160.6 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01127, allocations: 4 kB / 278.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01152, allocations: 8 kB / 278.5 MB, free: 11.27 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 0.0001184/0.01164, allocations: 99.25 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01182, allocations: 39.61 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01182, allocations: 0 / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.01188, allocations: 23.67 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.01233, allocations: 23.7 kB / 278.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.01279, allocations: 213.5 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.0129, allocations: 85.11 kB / 278.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.01296, allocations: 8.031 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.013, allocations: 12.5 kB / 279 MB, free: 10.69 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.013, allocations: 0 / 279 MB, free: 10.69 MB / 266.7 MB Notification: Performance of Templates: time 0.003869/0.01687, allocations: 0.7348 MB / 279.7 MB, free: 9.977 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 -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","/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.703968176036142]