Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001109/0.001109, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.0009473/0.0009473, allocations: 141.9 kB / 24.97 MB, free: 8.359 MB / 18.57 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 0.9841/0.9841, allocations: 173.4 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.927e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001522/0.001541, allocations: 0.9447 MB / 269 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.00184, allocations: 139.5 kB / 269.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.001921, allocations: 0 / 269.2 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.631e-05/0.002018, allocations: 11.86 kB / 269.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.002101, allocations: 11.94 kB / 269.2 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.002297, allocations: 47.81 kB / 269.2 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.002407, allocations: 67.77 kB / 269.3 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.002531, allocations: 24.22 kB / 269.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.002583, allocations: 39.95 kB / 269.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.133e-05/0.002615, allocations: 19.91 kB / 269.4 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.00264, allocations: 8 kB / 269.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.002651, allocations: 4 kB / 269.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.002726, allocations: 31.84 kB / 269.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.002764, allocations: 19.92 kB / 269.4 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.002886, allocations: 59.69 kB / 269.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002888, allocations: 0 / 269.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002889, allocations: 0 / 269.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.002892, allocations: 0 / 269.5 MB, free: 5.309 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003511/0.003244, allocations: 432.1 kB / 269.9 MB, free: 4.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.003279, allocations: 12.03 kB / 269.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.003322, allocations: 20.89 kB / 269.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.003494, allocations: 152.3 kB / 270.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003506, allocations: 8.375 kB / 270.1 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.003518, allocations: 8.359 kB / 270.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.003778, allocations: 177.2 kB / 270.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.003784, allocations: 192 / 270.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.003801, allocations: 4.375 kB / 270.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.003809, allocations: 384 / 270.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.00386, allocations: 31.86 kB / 270.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.003962, allocations: 132.6 kB / 270.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.004123, allocations: 99.41 kB / 270.5 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.004186, allocations: 58.75 kB / 270.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.004195, allocations: 4 kB / 270.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.004215, allocations: 41.39 kB / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.004216, allocations: 0 / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001954/0.004412, allocations: 121.5 kB / 270.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.004459, allocations: 63.34 kB / 270.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.004596, allocations: 216.5 kB / 271 MB, free: 3.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004605, allocations: 25.7 kB / 271.1 MB, free: 3.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.004646, allocations: 131.2 kB / 271.2 MB, free: 3.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.004659, allocations: 4 kB / 271.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.004691, allocations: 35.31 kB / 271.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.004798, allocations: 496.1 kB / 271.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.004808, allocations: 8 kB / 271.7 MB, free: 2.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.00483, allocations: 23.36 kB / 271.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.004859, allocations: 23.38 kB / 271.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004861, allocations: 0 / 271.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.004992, allocations: 53.62 kB / 271.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005004, allocations: 4 kB / 271.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.00501, allocations: 4 kB / 271.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.005022, allocations: 0 / 271.8 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.11e-05/0.005033, allocations: 4.062 kB / 271.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.005038, allocations: 0 / 271.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.005051, allocations: 3.938 kB / 271.8 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.005056, allocations: 4 kB / 271.8 MB, free: 2.73 MB / 250.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: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 6.81e-05/0.005124, allocations: 164.5 kB / 272 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.005209, allocations: 101.6 kB / 272.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.005243, allocations: 17.12 kB / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005245, allocations: 0 / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005248, allocations: 0 / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.005252, allocations: 3.938 kB / 272.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.365e-05/0.005316, allocations: 144.5 kB / 272.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.005317, allocations: 0 / 272.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.005326, allocations: 7.938 kB / 272.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005327, allocations: 0 / 272.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.005336, allocations: 4 kB / 272.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005337, allocations: 0 / 272.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005338, allocations: 4 kB / 272.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.005447, allocations: 147.2 kB / 272.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.00548, allocations: 19.94 kB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.0055, allocations: 4 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.005513, allocations: 4.094 kB / 272.5 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-06/0.005516, allocations: 7.984 kB / 272.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.005521, allocations: 11.92 kB / 272.5 MB, free: 2.031 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.005568, allocations: 141.5 kB / 272.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.005568, allocations: 0 / 272.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001251/0.005694, allocations: 12 kB / 272.6 MB, free: 1.883 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 7.596e-05/0.00577, allocations: 111.1 kB / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.215e-05/0.005862, allocations: 47.61 kB / 272.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.005863, allocations: 0 / 272.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.005864, allocations: 4.125 kB / 272.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.006118, allocations: 63.81 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.006369, allocations: 218.2 kB / 273.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.584e-05/0.006404, allocations: 71.33 kB / 273.1 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.446e-05/0.006419, allocations: 4.5 kB / 273.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.006443, allocations: 16.44 kB / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006443, allocations: 0 / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of Templates: time 0.002606/0.009049, allocations: 1.004 MB / 274.1 MB, free: 316 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.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.6550702520180494]