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.001558/0.001558, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001585/0.001585, allocations: 185.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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 1.456/1.456, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001625/0.001625, allocations: 51.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2428, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002964/0.2458, allocations: 1.55 MB / 425.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.2462, allocations: 135.6 kB / 425.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.2463, allocations: 3.938 kB / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.536e-05/0.2464, allocations: 7.938 kB / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.2465, allocations: 15.86 kB / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2467, allocations: 31.91 kB / 425.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2468, allocations: 43.84 kB / 425.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2469, allocations: 12 kB / 425.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.2469, allocations: 19.91 kB / 425.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.247, allocations: 15.92 kB / 425.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.247, allocations: 4 kB / 425.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.247, allocations: 4 kB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.2471, allocations: 23.88 kB / 425.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.2471, allocations: 23.8 kB / 425.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2472, allocations: 62.36 kB / 425.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2472, allocations: 0 / 425.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2472, allocations: 0 / 425.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2472, allocations: 0 / 425.8 MB, free: 12.54 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.000487/0.2477, allocations: 302 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2477, allocations: 12.03 kB / 426.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.2478, allocations: 12.84 kB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.248, allocations: 142.4 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.248, allocations: 4.359 kB / 426.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2481, allocations: 8.312 kB / 426.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2483, allocations: 122.5 kB / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2484, allocations: 192 / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2484, allocations: 3.938 kB / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2484, allocations: 0 / 426.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2485, allocations: 39.97 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.2489, allocations: 313.5 kB / 426.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2491, allocations: 79.77 kB / 426.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.2492, allocations: 42.56 kB / 426.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2492, allocations: 3.938 kB / 426.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2492, allocations: 42.5 kB / 426.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.2492, allocations: 0 / 426.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003461/0.2495, allocations: 105.5 kB / 427 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.2496, allocations: 110.8 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2498, allocations: 148.3 kB / 427.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2498, allocations: 25.7 kB / 427.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.2498, allocations: 84.52 kB / 427.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.2499, allocations: 12 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.2499, allocations: 25.66 kB / 427.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.25, allocations: 314.8 kB / 427.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.2501, allocations: 19.98 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.2502, allocations: 43.41 kB / 427.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2503, allocations: 63.34 kB / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2503, allocations: 0 / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000172/0.2505, allocations: 81.58 kB / 427.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2505, allocations: 8 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2505, allocations: 0 / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2505, allocations: 3.984 kB / 427.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.2506, allocations: 15.98 kB / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2506, allocations: 4.125 kB / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.2507, allocations: 11.94 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2507, allocations: 0 / 427.9 MB, free: 10.12 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.0001103/0.2508, allocations: 117.8 kB / 428 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.2509, allocations: 65.5 kB / 428.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.2509, allocations: 11.97 kB / 428.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.2509, allocations: 7.984 kB / 428.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2509, allocations: 0 / 428.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2509, allocations: 0 / 428.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2511, allocations: 121.3 kB / 428.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2511, allocations: 0 / 428.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.2512, allocations: 15.92 kB / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2512, allocations: 0 / 428.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2512, allocations: 7.938 kB / 428.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2512, allocations: 0 / 428.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2512, allocations: 0 / 428.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.2515, allocations: 263.5 kB / 428.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2515, allocations: 19.88 kB / 428.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2515, allocations: 4 kB / 428.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.2516, allocations: 4 kB / 428.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2517, allocations: 7.984 kB / 428.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2517, allocations: 0 / 428.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.199e-05/0.2518, allocations: 119.2 kB / 428.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2518, allocations: 0 / 428.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.252, allocations: 4 kB / 428.7 MB, free: 9.301 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.0001047/0.2521, allocations: 99.25 kB / 428.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2523, allocations: 51.91 kB / 428.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2523, allocations: 0 / 428.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.2524, allocations: 15.92 kB / 428.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.2528, allocations: 35.38 kB / 428.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.2532, allocations: 219.9 kB / 429.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.657e-05/0.2533, allocations: 75.8 kB / 429.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.2533, allocations: 15.44 kB / 429.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2533, allocations: 0 / 429.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of Templates: time 0.002521/0.2558, allocations: 0.8432 MB / 430 MB, free: 7.895 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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: 6.987429169006646]