Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, allocations: 109.1 kB / 21.18 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 209.1 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 59.89 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2454, allocations: 53.41 MB / 432.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003087/0.2485, allocations: 1.555 MB / 434 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000436/0.2489, allocations: 147.5 kB / 434.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.249, allocations: 7.938 kB / 434.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2491, allocations: 3.938 kB / 434.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2492, allocations: 15.86 kB / 434.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2495, allocations: 39.91 kB / 434.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2496, allocations: 43.84 kB / 434.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2497, allocations: 11.98 kB / 434.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.2497, allocations: 19.92 kB / 434.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.2498, allocations: 15.88 kB / 434.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2498, allocations: 8 kB / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.2498, allocations: 0 / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.2499, allocations: 27.86 kB / 434.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.2499, allocations: 23.81 kB / 434.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.2501, allocations: 61.92 kB / 434.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2501, allocations: 0 / 434.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2501, allocations: 0 / 434.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2501, allocations: 0 / 434.4 MB, free: 4.781 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.0004907/0.2506, allocations: 302 kB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2506, allocations: 16.03 kB / 434.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.2507, allocations: 12.89 kB / 434.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2509, allocations: 137.1 kB / 434.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2509, allocations: 8.312 kB / 434.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2509, allocations: 8.312 kB / 434.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2513, allocations: 122.4 kB / 435 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2513, allocations: 192 / 435 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2513, allocations: 7.938 kB / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.2513, allocations: 0 / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2514, allocations: 35.97 kB / 435 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.2519, allocations: 344.9 kB / 435.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.2521, allocations: 91.64 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.868e-05/0.2522, allocations: 38.62 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.2522, allocations: 0 / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2522, allocations: 34.56 kB / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2522, allocations: 0 / 435.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003781/0.2526, allocations: 113.8 kB / 435.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.2527, allocations: 102.8 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2529, allocations: 149.8 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2529, allocations: 25.7 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.253, allocations: 84.14 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.253, allocations: 11.95 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.253, allocations: 17.72 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2532, allocations: 322.9 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.2532, allocations: 15.98 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.2533, allocations: 39.42 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.2534, allocations: 59.34 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2534, allocations: 3.938 kB / 436.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001811/0.2536, allocations: 89.48 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2536, allocations: 4 kB / 436.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2536, allocations: 4.125 kB / 436.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2537, allocations: 4 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.2537, allocations: 11.98 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2538, allocations: 0 / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.2538, allocations: 4 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.2538, allocations: 4 kB / 436.6 MB, free: 2.336 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.0001246/0.2539, allocations: 125.8 kB / 436.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.254, allocations: 57.58 kB / 436.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.2541, allocations: 15.95 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.2541, allocations: 4 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2541, allocations: 0 / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2541, allocations: 12.02 kB / 436.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.2544, allocations: 148.7 kB / 436.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2544, allocations: 3.938 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.2544, allocations: 12 kB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2545, allocations: 0 / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2545, allocations: 0 / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2545, allocations: 0 / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2545, allocations: 4 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.2547, allocations: 275.5 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.2548, allocations: 7.953 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2548, allocations: 4 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2549, allocations: 15.98 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2549, allocations: 0 / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.255, allocations: 0 / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2551, allocations: 114 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2551, allocations: 0 / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.2553, allocations: 7.984 kB / 437.4 MB, free: 1.465 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.0001195/0.2554, allocations: 99.25 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.2557, allocations: 55.89 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2557, allocations: 0 / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/0.2557, allocations: 15.92 kB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2562, allocations: 35.52 kB / 437.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.2566, allocations: 205.4 kB / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.2569, allocations: 0.7002 MB / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.257, allocations: 7.438 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.257, allocations: 0 / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of Templates: time 0.002664/0.2596, allocations: 0.8301 MB / 439.3 MB, free: 15.46 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.034837159793824]