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.001258/0.001258, allocations: 70.42 kB / 21.24 MB, free: 0.5391 MB / 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.001393/0.001393, allocations: 154.3 kB / 24.49 MB, free: 3.719 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.46/1.46, allocations: 173.4 MB / 201.1 MB, free: 12.68 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 0.00233/0.00233, allocations: 45.8 kB / 319.4 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 52.17 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003042/0.1234, allocations: 1.618 MB / 373.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000888/0.1243, allocations: 450.9 kB / 373.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.1244, allocations: 0 / 373.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.1245, allocations: 11.86 kB / 373.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.1246, allocations: 19.81 kB / 373.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1249, allocations: 51.83 kB / 373.7 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.125, allocations: 55.83 kB / 373.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1251, allocations: 11.98 kB / 373.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.1252, allocations: 35.8 kB / 373.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.569e-05/0.1253, allocations: 27.84 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1253, allocations: 4 kB / 373.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.1253, allocations: 4 kB / 373.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1254, allocations: 19.92 kB / 373.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.1254, allocations: 23.8 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1256, allocations: 71.61 kB / 374 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1256, allocations: 0 / 374 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.53e-06/0.1256, allocations: 11.98 kB / 374 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1256, allocations: 0 / 374 MB, free: 4.949 MB / 334.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.000602/0.1262, allocations: 313.9 kB / 374.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1262, allocations: 8.922 kB / 374.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1263, allocations: 8.891 kB / 374.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1265, allocations: 150.2 kB / 374.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1266, allocations: 384 / 374.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1266, allocations: 8.375 kB / 374.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.1269, allocations: 130.2 kB / 374.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1269, allocations: 0 / 374.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1269, allocations: 0 / 374.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.1269, allocations: 4 kB / 374.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1271, allocations: 43.94 kB / 374.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1276, allocations: 313.6 kB / 374.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1277, allocations: 87.7 kB / 375 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.1278, allocations: 42.56 kB / 375.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1278, allocations: 4 kB / 375.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1279, allocations: 38.56 kB / 375.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1279, allocations: 0 / 375.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003777/0.1282, allocations: 125.8 kB / 375.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.1283, allocations: 110.8 kB / 375.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1285, allocations: 157 kB / 375.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1285, allocations: 25.7 kB / 375.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.1286, allocations: 100 kB / 375.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1286, allocations: 7.953 kB / 375.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.1287, allocations: 21.7 kB / 375.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1288, allocations: 314.8 kB / 375.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.1289, allocations: 19.98 kB / 376 MB, free: 2.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.893e-05/0.129, allocations: 51.38 kB / 376 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1291, allocations: 59.41 kB / 376.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1291, allocations: 3.938 kB / 376.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002103/0.1294, allocations: 93.55 kB / 376.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1294, allocations: 8 kB / 376.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1294, allocations: 0 / 376.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1294, allocations: 0 / 376.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1295, allocations: 15.98 kB / 376.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1295, allocations: 0 / 376.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.1296, allocations: 4 kB / 376.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1296, allocations: 4 kB / 376.2 MB, free: 2.473 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000108/0.1297, allocations: 125.8 kB / 376.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1298, allocations: 57.64 kB / 376.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1298, allocations: 11.97 kB / 376.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.1299, allocations: 4 kB / 376.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1299, allocations: 0 / 376.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1299, allocations: 0 / 376.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1301, allocations: 129.2 kB / 376.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1301, allocations: 0 / 376.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.1301, allocations: 7.984 kB / 376.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1301, allocations: 4 kB / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1302, allocations: 0 / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1302, allocations: 0 / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1302, allocations: 7.969 kB / 376.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1305, allocations: 283.4 kB / 376.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1305, allocations: 15.94 kB / 376.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1305, allocations: 4 kB / 376.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1306, allocations: 0 / 376.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1307, allocations: 4 kB / 376.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1307, allocations: 3.984 kB / 376.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1308, allocations: 121.9 kB / 377 MB, free: 1.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1308, allocations: 4 kB / 377 MB, free: 1.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1311, allocations: 8 kB / 377 MB, free: 1.629 MB / 334.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 9.633e-05/0.1312, allocations: 103.1 kB / 377.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1314, allocations: 47.91 kB / 377.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1314, allocations: 0 / 377.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.1314, allocations: 28.22 kB / 377.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1319, allocations: 36 kB / 377.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.1323, allocations: 209.4 kB / 377.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.1324, allocations: 83.27 kB / 377.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.1325, allocations: 12.11 kB / 377.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.1325, allocations: 16.5 kB / 377.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1325, allocations: 96 / 377.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Templates: time 0.003493/0.136, allocations: 0.731 MB / 378.2 MB, free: 336 kB / 334.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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.396485007018782]