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.001456/0.001456, allocations: 100.7 kB / 20.96 MB, free: 484 kB / 14.72 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.001442/0.001442, allocations: 150.2 kB / 24.24 MB, free: 3.531 MB / 14.72 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.461/1.461, allocations: 173.3 MB / 200.8 MB, free: 12.78 MB / 190.1 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 2.185e-06/2.185e-06, allocations: 0 / 267.3 MB, free: 10.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.361e-05, allocations: 6.25 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003088/0.003122, allocations: 1.611 MB / 268.9 MB, free: 8.609 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.004215, allocations: 462.7 kB / 269.4 MB, free: 8.152 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.004331, allocations: 3.938 kB / 269.4 MB, free: 8.148 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.004459, allocations: 11.92 kB / 269.4 MB, free: 8.137 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.004625, allocations: 15.86 kB / 269.4 MB, free: 8.121 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.005003, allocations: 55.69 kB / 269.5 MB, free: 8.066 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.005198, allocations: 55.78 kB / 269.5 MB, free: 8.012 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.005327, allocations: 15.86 kB / 269.5 MB, free: 7.996 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.005479, allocations: 39.89 kB / 269.6 MB, free: 7.957 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.005572, allocations: 23.91 kB / 269.6 MB, free: 7.934 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.005613, allocations: 4 kB / 269.6 MB, free: 7.93 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.005637, allocations: 4 kB / 269.6 MB, free: 7.926 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.005707, allocations: 15.92 kB / 269.6 MB, free: 7.91 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.005763, allocations: 19.92 kB / 269.6 MB, free: 7.891 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.005973, allocations: 67.78 kB / 269.7 MB, free: 7.824 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005977, allocations: 0 / 269.7 MB, free: 7.824 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.005979, allocations: 0 / 269.7 MB, free: 7.824 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.005984, allocations: 3.938 kB / 269.7 MB, free: 7.82 MB / 254.1 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.0007478/0.006732, allocations: 321.8 kB / 270 MB, free: 7.477 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.00678, allocations: 16.86 kB / 270 MB, free: 7.461 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.006852, allocations: 8.891 kB / 270.1 MB, free: 7.453 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.007266, allocations: 152.6 kB / 270.2 MB, free: 7.281 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.007285, allocations: 8.375 kB / 270.2 MB, free: 7.273 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.0073, allocations: 384 / 270.2 MB, free: 7.273 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.007745, allocations: 126.4 kB / 270.3 MB, free: 7.129 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.007756, allocations: 192 / 270.3 MB, free: 7.129 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.007777, allocations: 8.375 kB / 270.3 MB, free: 7.121 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.007809, allocations: 3.938 kB / 270.3 MB, free: 7.117 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.008015, allocations: 39.91 kB / 270.4 MB, free: 7.078 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.008679, allocations: 313.6 kB / 270.7 MB, free: 6.734 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.0089, allocations: 75.78 kB / 270.8 MB, free: 6.633 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.009051, allocations: 46.56 kB / 270.8 MB, free: 6.578 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.009077, allocations: 3.984 kB / 270.8 MB, free: 6.574 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.00913, allocations: 42.5 kB / 270.9 MB, free: 6.523 MB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.009132, allocations: 0 / 270.9 MB, free: 6.523 MB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005843/0.009716, allocations: 113.5 kB / 271 MB, free: 6.406 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.009847, allocations: 107.1 kB / 271.1 MB, free: 6.277 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.01006, allocations: 154.3 kB / 271.2 MB, free: 6.117 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.01012, allocations: 29.69 kB / 271.3 MB, free: 6.082 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.01021, allocations: 92.09 kB / 271.3 MB, free: 5.988 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.01024, allocations: 11.94 kB / 271.4 MB, free: 5.977 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.0103, allocations: 13.72 kB / 271.4 MB, free: 5.957 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.01054, allocations: 314.8 kB / 271.7 MB, free: 5.641 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01064, allocations: 15.98 kB / 271.7 MB, free: 5.625 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01074, allocations: 25.7 kB / 271.7 MB, free: 5.594 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.01094, allocations: 53.69 kB / 271.8 MB, free: 5.535 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01095, allocations: 0 / 271.8 MB, free: 5.535 MB / 254.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002865/0.01123, allocations: 77.55 kB / 271.8 MB, free: 5.453 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.01125, allocations: 4 kB / 271.8 MB, free: 5.449 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.01126, allocations: 3.984 kB / 271.9 MB, free: 5.445 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01128, allocations: 7.938 kB / 271.9 MB, free: 5.438 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01141, allocations: 12.05 kB / 271.9 MB, free: 5.426 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01142, allocations: 3.938 kB / 271.9 MB, free: 5.422 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.0115, allocations: 4 kB / 271.9 MB, free: 5.418 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01151, allocations: 0 / 271.9 MB, free: 5.418 MB / 254.1 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.0001485/0.01166, allocations: 121.8 kB / 272 MB, free: 5.289 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.01182, allocations: 57.58 kB / 272.1 MB, free: 5.227 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.01187, allocations: 11.97 kB / 272.1 MB, free: 5.211 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.01189, allocations: 7.984 kB / 272.1 MB, free: 5.203 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01189, allocations: 0 / 272.1 MB, free: 5.203 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0119, allocations: 0 / 272.1 MB, free: 5.203 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.01226, allocations: 129.3 kB / 272.2 MB, free: 5.047 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.01226, allocations: 4 kB / 272.2 MB, free: 5.043 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.01235, allocations: 7.984 kB / 272.2 MB, free: 5.035 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.01236, allocations: 4 kB / 272.2 MB, free: 5.031 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01237, allocations: 3.938 kB / 272.2 MB, free: 5.027 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01238, allocations: 3.938 kB / 272.2 MB, free: 5.023 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01238, allocations: 0 / 272.2 MB, free: 5.023 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.01284, allocations: 275.6 kB / 272.5 MB, free: 4.734 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.01291, allocations: 23.84 kB / 272.5 MB, free: 4.711 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.01301, allocations: 7.922 kB / 272.5 MB, free: 4.703 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.01322, allocations: 4 kB / 272.5 MB, free: 4.699 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.01328, allocations: 4 kB / 272.5 MB, free: 4.695 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01329, allocations: 7.984 kB / 272.5 MB, free: 4.688 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.01345, allocations: 114.1 kB / 272.6 MB, free: 4.578 MB / 254.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01345, allocations: 3.938 kB / 272.7 MB, free: 4.574 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0005173/0.01397, allocations: 8 kB / 272.7 MB, free: 4.566 MB / 254.1 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.000221/0.01419, allocations: 95.25 kB / 272.8 MB, free: 4.465 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.01447, allocations: 43.97 kB / 272.8 MB, free: 4.422 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01447, allocations: 4 kB / 272.8 MB, free: 4.418 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01458, allocations: 19.92 kB / 272.8 MB, free: 4.398 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.01531, allocations: 32.47 kB / 272.9 MB, free: 4.363 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.01594, allocations: 202.3 kB / 273 MB, free: 4.125 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.0161, allocations: 91.61 kB / 273.1 MB, free: 4.016 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.01617, allocations: 7.984 kB / 273.1 MB, free: 4.008 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.01622, allocations: 16.44 kB / 273.2 MB, free: 3.992 MB / 254.1 MB Notification: Performance of SimCode: time 5.91e-07/0.01622, allocations: 3.938 kB / 273.2 MB, free: 3.988 MB / 254.1 MB Notification: Performance of Templates: time 0.005358/0.02158, allocations: 0.7254 MB / 273.9 MB, free: 3.289 MB / 254.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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: 3.91514765098691]