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.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001541/0.001541, allocations: 212.6 kB / 23.73 MB, free: 4.387 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 55.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2659, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00297/0.2689, allocations: 1.547 MB / 433.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004278/0.2693, allocations: 143.5 kB / 433.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2694, allocations: 4 kB / 433.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2695, allocations: 7.875 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2697, allocations: 7.875 kB / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.2699, allocations: 47.89 kB / 433.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.27, allocations: 39.8 kB / 433.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2702, allocations: 11.98 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.2702, allocations: 23.91 kB / 433.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.2703, allocations: 15.88 kB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2703, allocations: 4 kB / 433.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.2703, allocations: 4 kB / 433.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.2704, allocations: 19.92 kB / 433.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.2704, allocations: 15.88 kB / 433.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2706, allocations: 61.92 kB / 433.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2706, allocations: 4 kB / 433.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2706, allocations: 0 / 433.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2706, allocations: 0 / 433.5 MB, free: 4.77 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.000572/0.2712, allocations: 306 kB / 433.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2712, allocations: 11.97 kB / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.2712, allocations: 8.891 kB / 433.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2715, allocations: 145 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2715, allocations: 8.375 kB / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.2716, allocations: 384 / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.2719, allocations: 126.4 kB / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2719, allocations: 192 / 434.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2719, allocations: 3.938 kB / 434.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.2719, allocations: 4 kB / 434.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2721, allocations: 35.91 kB / 434.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.2725, allocations: 313.6 kB / 434.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2727, allocations: 83.77 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.2728, allocations: 38.56 kB / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2728, allocations: 4 kB / 434.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2728, allocations: 38.5 kB / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2728, allocations: 0 / 434.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003549/0.2732, allocations: 113.8 kB / 434.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.2732, allocations: 102.8 kB / 434.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2734, allocations: 145.8 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2734, allocations: 25.7 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2734, allocations: 88.14 kB / 435.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2734, allocations: 7.938 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.2735, allocations: 29.64 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2736, allocations: 318.8 kB / 435.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.2737, allocations: 19.98 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.2738, allocations: 43.48 kB / 435.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.2739, allocations: 59.34 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2739, allocations: 3.938 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000174/0.2741, allocations: 89.61 kB / 435.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2741, allocations: 4 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2741, allocations: 7.984 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2741, allocations: 0 / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.2742, allocations: 11.98 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2742, allocations: 4 kB / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.2743, allocations: 8 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2743, allocations: 0 / 435.7 MB, free: 2.352 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001156/0.2744, allocations: 129.9 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.2745, allocations: 53.58 kB / 435.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.2745, allocations: 15.92 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.2745, allocations: 0 / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.2745, allocations: 4 kB / 435.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2745, allocations: 3.984 kB / 435.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2747, allocations: 117.3 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2747, allocations: 0 / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.2748, allocations: 15.92 kB / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2748, allocations: 0 / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.2748, allocations: 32 / 436 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2748, allocations: 4 kB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2748, allocations: 7.938 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2751, allocations: 259.6 kB / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.2751, allocations: 19.88 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2751, allocations: 4 kB / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2752, allocations: 4 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2753, allocations: 7.984 kB / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2753, allocations: 0 / 436.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.2754, allocations: 110 kB / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2754, allocations: 0 / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.2756, allocations: 8 kB / 436.4 MB, free: 1.535 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: 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 0.0001139/0.2758, allocations: 103.2 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.2759, allocations: 47.91 kB / 436.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2759, allocations: 4 kB / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.276, allocations: 16.23 kB / 436.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.2764, allocations: 31.89 kB / 436.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.2768, allocations: 191.1 kB / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.2769, allocations: 79.27 kB / 436.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.199e-05/0.2769, allocations: 11.98 kB / 436.9 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.277, allocations: 11.44 kB / 436.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.277, allocations: 4.219 kB / 436.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Templates: time 0.003424/0.2804, allocations: 0.6891 MB / 437.6 MB, free: 320 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.507665259763598]