Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0007662/0.0007662, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003114/0.003114, allocations: 164 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8584/0.8584, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.702e-05, allocations: 2.281 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001914/0.001941, allocations: 1.542 MB / 327.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003214/0.002262, allocations: 151.4 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.002337, allocations: 0 / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.743e-05/0.002435, allocations: 7.938 kB / 327.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.002527, allocations: 11.86 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.002729, allocations: 47.59 kB / 327.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.002837, allocations: 43.84 kB / 327.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.002936, allocations: 8 kB / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.474e-05/0.00298, allocations: 27.91 kB / 327.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.003008, allocations: 7.984 kB / 327.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.00303, allocations: 4 kB / 327.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.003043, allocations: 0 / 327.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.003098, allocations: 19.92 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.003123, allocations: 11.94 kB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003225, allocations: 59.73 kB / 327.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003227, allocations: 0 / 327.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003228, allocations: 4 kB / 327.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003231, allocations: 0 / 327.8 MB, free: 13.52 MB / 298.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.0003472/0.003578, allocations: 290.1 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.003611, allocations: 12.03 kB / 328.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.003639, allocations: 8.891 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.003804, allocations: 137.6 kB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.003822, allocations: 8.312 kB / 328.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.003831, allocations: 4.375 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.004049, allocations: 122.5 kB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.004056, allocations: 4.125 kB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004065, allocations: 384 / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.004084, allocations: 4.375 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.004134, allocations: 31.86 kB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.0044, allocations: 301.6 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.004474, allocations: 71.84 kB / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.004508, allocations: 42.5 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.004516, allocations: 0 / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.004535, allocations: 38.56 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.004536, allocations: 0 / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000191/0.004727, allocations: 101.5 kB / 328.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.004775, allocations: 106.8 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.004856, allocations: 141.3 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.004865, allocations: 29.7 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.004905, allocations: 88.12 kB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.004917, allocations: 15.89 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.004941, allocations: 13.72 kB / 329.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.005022, allocations: 314.8 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.005044, allocations: 7.984 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.005067, allocations: 25.7 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.005108, allocations: 29.77 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.005109, allocations: 11.94 kB / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.133e-05/0.005171, allocations: 49.69 kB / 329.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.005183, allocations: 7.938 kB / 329.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005188, allocations: 3.984 kB / 329.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005198, allocations: 4 kB / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.428e-05/0.005213, allocations: 0 / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.005217, allocations: 0 / 329.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.005234, allocations: 11.94 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.005238, allocations: 4 kB / 329.8 MB, free: 11.28 MB / 298.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[1],sample1.u[2]) * 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 6.249e-05/0.005301, allocations: 121.8 kB / 329.9 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.005347, allocations: 49.58 kB / 329.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.005367, allocations: 15.92 kB / 329.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.005376, allocations: 11.92 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.005382, allocations: 4 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.005385, allocations: 0 / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.005502, allocations: 117.3 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.005505, allocations: 0 / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-06/0.005508, allocations: 4 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005509, allocations: 4.031 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.005516, allocations: 3.938 kB / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005517, allocations: 0 / 330.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.005519, allocations: 11.88 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.005642, allocations: 255.6 kB / 330.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.005667, allocations: 15.94 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.005678, allocations: 7.938 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.005726, allocations: 0 / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.005755, allocations: 4 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005758, allocations: 0 / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.34e-05/0.005801, allocations: 111.2 kB / 330.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005801, allocations: 0 / 330.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.006004, allocations: 11.98 kB / 330.5 MB, free: 10.48 MB / 298.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[1],sample1.u[2],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.743e-05/0.006072, allocations: 103.2 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.006161, allocations: 31.97 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006163, allocations: 0 / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.006186, allocations: 16.12 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.006456, allocations: 20.02 kB / 330.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.006753, allocations: 212.4 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.006819, allocations: 75.58 kB / 330.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.006851, allocations: 8.5 kB / 331 MB, free: 9.953 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.006852, allocations: 0 / 331 MB, free: 9.953 MB / 298.7 MB Notification: Performance of Templates: time 0.00175/0.008602, allocations: 0.8061 MB / 331.8 MB, free: 9.148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.143183583393693]