Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001124/0.001124, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 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.00169/0.00169, allocations: 162 kB / 24.82 MB, free: 8.867 MB / 18.57 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.031/1.031, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.908e-05, allocations: 2.312 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002939/0.002968, allocations: 1.576 MB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.003325, allocations: 151.4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.003417, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.003518, allocations: 11.86 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.003601, allocations: 4 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.003789, allocations: 43.77 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.00388, allocations: 35.86 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003983, allocations: 19.97 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.004031, allocations: 23.92 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.004063, allocations: 11.92 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.004084, allocations: 0 / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.004096, allocations: 4 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.004153, allocations: 15.94 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.004178, allocations: 19.97 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.004288, allocations: 39.78 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.004292, allocations: 0 / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.004294, allocations: 0 / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.0043, allocations: 0 / 275.3 MB, free: 15.27 MB / 266.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.0004404/0.00474, allocations: 396.3 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.004786, allocations: 15.98 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.004823, allocations: 16.84 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.004997, allocations: 136.4 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.005019, allocations: 12.36 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.005027, allocations: 4.375 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.005229, allocations: 121.3 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005237, allocations: 192 / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.005245, allocations: 384 / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.005273, allocations: 4.375 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.005296, allocations: 7.938 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.005555, allocations: 398.9 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/0.005622, allocations: 81.19 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.005644, allocations: 27.19 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.005651, allocations: 4 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.005676, allocations: 41.33 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.005676, allocations: 3.938 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.00014/0.005817, allocations: 57.52 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.005861, allocations: 111.2 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.00596, allocations: 193.9 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.005969, allocations: 25.7 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.006016, allocations: 134.9 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.00603, allocations: 15.88 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.006059, allocations: 23.38 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.00618, allocations: 0.4884 MB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.006191, allocations: 4 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.006209, allocations: 19.31 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.006244, allocations: 23.44 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006247, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.498e-05/0.006302, allocations: 49.59 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.006312, allocations: 4 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.006315, allocations: 0 / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.006328, allocations: 7.922 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.504e-05/0.006343, allocations: 4 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.006346, allocations: 0 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.006369, allocations: 7.984 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.006373, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.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.671e-05/0.00644, allocations: 156.6 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.006487, allocations: 49.58 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.006508, allocations: 7.969 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.006523, allocations: 7.938 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006525, allocations: 0 / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.006529, allocations: 4 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.00665, allocations: 109.2 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.006653, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/0.006656, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006658, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-06/0.006662, allocations: 8.031 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006662, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006663, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.006783, allocations: 326.6 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.006809, allocations: 23.88 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.006819, allocations: 3.984 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.006871, allocations: 4 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.006901, allocations: 3.938 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.006905, allocations: 4 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.006953, allocations: 146 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006953, allocations: 0 / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.007119, allocations: 8 kB / 278.5 MB, free: 11.67 MB / 266.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 9.951e-05/0.007218, allocations: 98.34 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.483e-05/0.007283, allocations: 23.61 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007285, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.007301, allocations: 15.67 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.007582, allocations: 24.92 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.007825, allocations: 176.6 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.007865, allocations: 59.34 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.571e-05/0.007881, allocations: 0 / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.007932, allocations: 82.19 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007933, allocations: 0 / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.00225/0.01018, allocations: 0.7268 MB / 279.7 MB, free: 10.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7410859228111804]