Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.000944/0.000944, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009844/0.0009844, allocations: 166 kB / 24.82 MB, free: 9.266 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.543e-05, allocations: 10.25 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002188/0.002214, allocations: 1.575 MB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000344/0.002558, allocations: 151.4 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.002638, allocations: 7.938 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.00274, allocations: 11.88 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.00284, allocations: 11.92 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.003024, allocations: 31.84 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.003126, allocations: 47.78 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003231, allocations: 15.98 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.003278, allocations: 19.97 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.003324, allocations: 11.94 kB / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.003343, allocations: 4 kB / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.003352, allocations: 0 / 275.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.003404, allocations: 19.92 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.003431, allocations: 15.92 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.00353, allocations: 39.84 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003532, allocations: 0 / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003533, allocations: 3.938 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003537, allocations: 0 / 275.4 MB, free: 15.29 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.0003745/0.003912, allocations: 412.2 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.003951, allocations: 12.03 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.003979, allocations: 8.891 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004131, allocations: 144.4 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.00414, allocations: 4.375 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.00415, allocations: 12.38 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.00432, allocations: 125.3 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.004327, allocations: 192 / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.004333, allocations: 4.312 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.004358, allocations: 4.375 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.004376, allocations: 11.88 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.004633, allocations: 390.9 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.619e-05/0.004699, allocations: 85.3 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.004723, allocations: 27 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.004731, allocations: 4.062 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.004755, allocations: 37.39 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.004756, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001308/0.004887, allocations: 61.52 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.004937, allocations: 110.7 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.005038, allocations: 198.2 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.005054, allocations: 29.7 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.005107, allocations: 138.9 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.005117, allocations: 3.953 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.005145, allocations: 23.38 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.00538, allocations: 0.4923 MB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-06/0.005388, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.005403, allocations: 15.38 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.005429, allocations: 27.31 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005431, allocations: 4.062 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.816e-05/0.005479, allocations: 45.64 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.005489, allocations: 4 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005494, allocations: 4 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005504, allocations: 3.938 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.005551, allocations: 11.92 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.005554, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.00557, allocations: 4 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005574, allocations: 0 / 277.8 MB, free: 12.58 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: 2 (sample1.u[2],sample1.u[1]) * 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 6.922e-05/0.005643, allocations: 164.6 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.005688, allocations: 41.64 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.005713, allocations: 11.97 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.005725, allocations: 11.86 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.005727, allocations: 4 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005731, allocations: 0 / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.005852, allocations: 109.2 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005855, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.005873, allocations: 8 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005874, allocations: 3.938 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.005878, allocations: 4.031 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005879, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005881, allocations: 8 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.006017, allocations: 318.7 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.006043, allocations: 15.95 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006052, allocations: 3.984 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.006099, allocations: 4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.00613, allocations: 3.938 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.006133, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.006184, allocations: 158.2 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006184, allocations: 4.031 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.006342, allocations: 4 kB / 278.6 MB, free: 11.66 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.252e-05/0.006415, allocations: 103.2 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.754e-05/0.006472, allocations: 15.69 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006474, allocations: 0 / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.006489, allocations: 19.61 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.006751, allocations: 16.94 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.006995, allocations: 192.6 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.007038, allocations: 63.34 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.647e-05/0.007055, allocations: 3.984 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.007108, allocations: 74.2 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007108, allocations: 0 / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of Templates: time 0.002204/0.009312, allocations: 0.731 MB / 279.8 MB, free: 10.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.6549729551188648]