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.001265/0.001265, 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.001259/0.001259, allocations: 170.3 kB / 24.91 MB, free: 8.777 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.9522/0.9522, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.383e-06/1.383e-06, allocations: 3.938 kB / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.885e-05, allocations: 2.312 kB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001907/0.001926, allocations: 1.677 MB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006718/0.002598, allocations: 0.553 MB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.002669, allocations: 11.94 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.912e-05/0.002758, allocations: 7.922 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.808e-05/0.002846, allocations: 15.75 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.003062, allocations: 63.78 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.871e-05/0.003161, allocations: 67.72 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.003236, allocations: 8 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003342, allocations: 51.75 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.003391, allocations: 23.92 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.003407, allocations: 4 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.00344, allocations: 8 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.003481, allocations: 27.91 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.003505, allocations: 15.92 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003611, allocations: 47.83 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003613, allocations: 0 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003613, allocations: 0 / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.003616, allocations: 0 / 276 MB, free: 14.58 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.0004358/0.004052, allocations: 300.4 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.00408, allocations: 12.03 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.004198, allocations: 36.78 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.004339, allocations: 148 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.004346, allocations: 384 / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.004355, allocations: 4.375 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.004518, allocations: 120.8 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.004524, allocations: 192 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.00453, allocations: 384 / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.004553, allocations: 11.94 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.004573, allocations: 10.77 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.004783, allocations: 262.9 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.004842, allocations: 62.62 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.004861, allocations: 18.64 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-06/0.00487, allocations: 0 / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.00489, allocations: 42.48 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.00489, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001174/0.005008, allocations: 61.56 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.005053, allocations: 106.8 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.005121, allocations: 147.3 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.00513, allocations: 25.7 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.005161, allocations: 96.11 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.005175, allocations: 7.953 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.005198, allocations: 13.7 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.005267, allocations: 318.8 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.005275, allocations: 384 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.00529, allocations: 21.7 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.005318, allocations: 16.55 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00532, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.952e-05/0.00537, allocations: 49.62 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.00538, allocations: 4 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005384, allocations: 3.938 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.005393, allocations: 3.984 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.431e-05/0.005438, allocations: 12.06 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.00544, allocations: 4 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.005458, allocations: 0 / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.005464, allocations: 7.984 kB / 277.9 MB, free: 12.46 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.762e-05/0.005522, allocations: 116.6 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.005561, allocations: 33.7 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.005584, allocations: 19.89 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.005596, allocations: 4 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.005598, allocations: 0 / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.0056, allocations: 0 / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.005711, allocations: 89.86 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.005714, allocations: 3.984 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.005737, allocations: 15.98 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005738, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.005743, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.005744, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.005746, allocations: 7.938 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.642e-05/0.005833, allocations: 226.4 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.00586, allocations: 15.94 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.005869, allocations: 0 / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.00592, allocations: 8.031 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.005946, allocations: 7.922 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.005949, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.752e-05/0.005977, allocations: 41.64 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005977, allocations: 0 / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00014/0.006117, allocations: 8 kB / 278.5 MB, free: 11.82 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 6.583e-05/0.006183, allocations: 84.34 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.224e-05/0.006235, allocations: 16.8 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.006237, allocations: 128 / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.006252, allocations: 20.78 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.006478, allocations: 19.42 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.006847, allocations: 209 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.007025, allocations: 67.33 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.396e-05/0.007049, allocations: 224 / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.007099, allocations: 59.38 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007099, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of Templates: time 0.002122/0.009221, allocations: 0.739 MB / 279.7 MB, free: 10.55 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","",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.5382392266765237]