Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0008008/0.0008008, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003716/0.003716, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8073/0.8073, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.033e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001762/0.001782, allocations: 1.524 MB / 321.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.002089, allocations: 151.4 kB / 321.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.002161, allocations: 0 / 321.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.182e-05/0.002253, allocations: 15.8 kB / 321.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.002342, allocations: 7.938 kB / 321.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002528, allocations: 46.52 kB / 321.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.002626, allocations: 43.84 kB / 321.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.002722, allocations: 31.91 kB / 321.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.002759, allocations: 15.98 kB / 321.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.002797, allocations: 15.92 kB / 321.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.002822, allocations: 4 kB / 321.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-06/0.002829, allocations: 0 / 321.5 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.002879, allocations: 23.91 kB / 321.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.002904, allocations: 11.94 kB / 321.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.003, allocations: 51.8 kB / 321.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003002, allocations: 0 / 321.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003002, allocations: 0 / 321.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003006, allocations: 0 / 321.6 MB, free: 3.906 MB / 282.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.0003505/0.003357, allocations: 310 kB / 321.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.003391, allocations: 8.922 kB / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.00342, allocations: 12.84 kB / 321.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.003589, allocations: 145.5 kB / 322.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.003599, allocations: 4.375 kB / 322.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.003609, allocations: 4.375 kB / 322.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.003828, allocations: 122.5 kB / 322.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003837, allocations: 192 / 322.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.003845, allocations: 384 / 322.2 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.003866, allocations: 12.36 kB / 322.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.003931, allocations: 39.84 kB / 322.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.004197, allocations: 301.6 kB / 322.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.004277, allocations: 79.78 kB / 322.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.004316, allocations: 38.62 kB / 322.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.004325, allocations: 3.984 kB / 322.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.004347, allocations: 38.5 kB / 322.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004348, allocations: 0 / 322.7 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002127/0.004561, allocations: 109.5 kB / 322.8 MB, free: 2.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.004611, allocations: 107.2 kB / 322.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.004696, allocations: 145.8 kB / 323.1 MB, free: 2.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.004705, allocations: 25.7 kB / 323.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.004747, allocations: 96.12 kB / 323.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.004755, allocations: 7.922 kB / 323.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.004782, allocations: 21.67 kB / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.004856, allocations: 314.8 kB / 323.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.004882, allocations: 8 kB / 323.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.004912, allocations: 33.64 kB / 323.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.004967, allocations: 41.75 kB / 323.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004969, allocations: 0 / 323.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.33e-05/0.005042, allocations: 65.61 kB / 323.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.005053, allocations: 7.938 kB / 323.7 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005057, allocations: 4 kB / 323.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005069, allocations: 3.984 kB / 323.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.005117, allocations: 12 kB / 323.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.00512, allocations: 0 / 323.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.00514, allocations: 7.984 kB / 323.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005145, allocations: 4 kB / 323.7 MB, free: 1.57 MB / 282.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 5.999e-05/0.005205, allocations: 113.8 kB / 323.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.005252, allocations: 57.58 kB / 323.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.00527, allocations: 15.91 kB / 323.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.005281, allocations: 7.984 kB / 323.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.005284, allocations: 0 / 323.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.005287, allocations: 4.031 kB / 323.9 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.005403, allocations: 117.3 kB / 324 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.005405, allocations: 0 / 324 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.005426, allocations: 19.98 kB / 324 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005427, allocations: 0 / 324 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005433, allocations: 0 / 324 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.005435, allocations: 7.938 kB / 324 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005436, allocations: 0 / 324 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.005574, allocations: 259.5 kB / 324.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.005603, allocations: 27.97 kB / 324.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005612, allocations: 0 / 324.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.005665, allocations: 7.938 kB / 324.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.005694, allocations: 7.984 kB / 324.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005696, allocations: 0 / 324.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.005743, allocations: 114.5 kB / 324.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005743, allocations: 0 / 324.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.005906, allocations: 4 kB / 324.5 MB, free: 0.7539 MB / 282.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 6.795e-05/0.005974, allocations: 103.2 kB / 324.6 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.006075, allocations: 47.91 kB / 324.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006076, allocations: 0 / 324.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.006103, allocations: 11.98 kB / 324.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.006373, allocations: 27.95 kB / 324.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.006619, allocations: 208.5 kB / 324.8 MB, free: 320 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.475e-05/0.006674, allocations: 79.67 kB / 324.9 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.006695, allocations: 8.5 kB / 324.9 MB, free: 212 kB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.006695, allocations: 0 / 324.9 MB, free: 212 kB / 282.7 MB Notification: Performance of Templates: time 0.001584/0.00828, allocations: 0.8259 MB / 325.8 MB, free: 15.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.883831024169922]