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.0019/0.0019, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002423/0.002423, allocations: 210.1 kB / 24.48 MB, free: 3.84 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.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.00176/0.00176, allocations: 51.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003122/0.2549, allocations: 1.551 MB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.2553, allocations: 139.5 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.2554, allocations: 7.938 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.788e-05/0.2555, allocations: 3.938 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.2556, allocations: 15.86 kB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2558, allocations: 39.84 kB / 434.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2559, allocations: 43.84 kB / 434.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.256, allocations: 12 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.2561, allocations: 19.92 kB / 434.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.2561, allocations: 15.86 kB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2561, allocations: 7.984 kB / 434.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.2561, allocations: 4 kB / 434.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.2562, allocations: 19.92 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.2562, allocations: 15.88 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2563, allocations: 62.36 kB / 434.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2563, allocations: 3.984 kB / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2563, allocations: 0 / 434.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.2564, allocations: 4 kB / 434.3 MB, free: 4.777 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.0004927/0.2568, allocations: 309.9 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2569, allocations: 8.031 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2569, allocations: 8.891 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.2572, allocations: 140.4 kB / 434.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2572, allocations: 4.375 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2572, allocations: 384 / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.2576, allocations: 130.4 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2576, allocations: 192 / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2576, allocations: 3.938 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.2576, allocations: 4 kB / 434.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.2577, allocations: 35.91 kB / 434.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.2582, allocations: 313.5 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.2584, allocations: 83.78 kB / 435.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.2585, allocations: 42.5 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.2585, allocations: 4 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2585, allocations: 34.55 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2585, allocations: 0 / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003451/0.2588, allocations: 105.8 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.2589, allocations: 110.8 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2591, allocations: 149.1 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2591, allocations: 25.7 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.2592, allocations: 92.12 kB / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.2592, allocations: 7.953 kB / 435.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.2592, allocations: 21.66 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2594, allocations: 318.8 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.2594, allocations: 19.98 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.2595, allocations: 35.42 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2596, allocations: 67.28 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2596, allocations: 0 / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001808/0.2598, allocations: 85.5 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2598, allocations: 8.109 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2598, allocations: 8 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2599, allocations: 0 / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.26, allocations: 11.94 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.26, allocations: 4 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.26, allocations: 7.984 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.26, allocations: 4 kB / 436.4 MB, free: 2.367 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.0001046/0.2601, allocations: 121.8 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.2602, allocations: 53.59 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.2602, allocations: 23.94 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.2603, allocations: 96 / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.2603, allocations: 7.984 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2603, allocations: 0 / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2605, allocations: 117.3 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2605, allocations: 3.984 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.2605, allocations: 15.88 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2605, allocations: 0 / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2605, allocations: 4 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2605, allocations: 0 / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2605, allocations: 4 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.2609, allocations: 259.6 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.261, allocations: 23.88 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.261, allocations: 0 / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2611, allocations: 7.984 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.2611, allocations: 3.938 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2611, allocations: 4 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.798e-05/0.2612, allocations: 107.2 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2612, allocations: 0 / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.2615, allocations: 16 kB / 437.2 MB, free: 1.539 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.0001221/0.2616, allocations: 95.25 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.2618, allocations: 47.89 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2618, allocations: 0 / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.2619, allocations: 16 kB / 437.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.2623, allocations: 40.89 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.2627, allocations: 220.8 kB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.791e-05/0.2628, allocations: 78.14 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.2628, allocations: 15.42 kB / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.2628, allocations: 0 / 437.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Templates: time 0.002459/0.2653, allocations: 0.8414 MB / 438.5 MB, free: 144 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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: 6.9156122310087085]