Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.001372/0.001372, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.00156/0.00156, allocations: 218.9 kB / 23 MB, free: 5.609 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.558/1.558, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 63.91 kB / 376.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3579, allocations: 53.33 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003112/0.3611, allocations: 0.9176 MB / 430.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005717/0.3616, allocations: 135.6 kB / 430.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.3618, allocations: 11.94 kB / 430.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3619, allocations: 11.86 kB / 430.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3621, allocations: 15.92 kB / 430.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.3624, allocations: 43.89 kB / 430.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3626, allocations: 75.75 kB / 431 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.3628, allocations: 23.98 kB / 431 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.3628, allocations: 27.86 kB / 431.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.363, allocations: 35.84 kB / 431.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.363, allocations: 4 kB / 431.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.363, allocations: 4 kB / 431.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.3631, allocations: 39.83 kB / 431.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.07e-05/0.3632, allocations: 39.75 kB / 431.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3634, allocations: 104.7 kB / 431.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3634, allocations: 0 / 431.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3634, allocations: 0 / 431.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3634, allocations: 0 / 431.3 MB, free: 6.094 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007488/0.3642, allocations: 418.8 kB / 431.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.3642, allocations: 8.031 kB / 431.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.3643, allocations: 20.83 kB / 431.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3646, allocations: 216.1 kB / 431.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3646, allocations: 4.375 kB / 431.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3647, allocations: 16.31 kB / 431.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.3652, allocations: 250.1 kB / 432.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3652, allocations: 192 / 432.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3653, allocations: 11.94 kB / 432.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3653, allocations: 0 / 432.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3654, allocations: 47.97 kB / 432.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.3657, allocations: 189.5 kB / 432.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.366, allocations: 139 kB / 432.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.3661, allocations: 83.62 kB / 432.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3662, allocations: 4 kB / 432.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3662, allocations: 34.5 kB / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.3662, allocations: 0 / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004668/0.3667, allocations: 181.7 kB / 432.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/0.3668, allocations: 63.41 kB / 432.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.367, allocations: 161.5 kB / 433.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.367, allocations: 29.7 kB / 433.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.3671, allocations: 96.45 kB / 433.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3671, allocations: 11.95 kB / 433.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.3672, allocations: 37.7 kB / 433.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.3675, allocations: 322.8 kB / 433.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.3675, allocations: 19.98 kB / 433.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3677, allocations: 121.7 kB / 433.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.3679, allocations: 153.5 kB / 433.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3679, allocations: 0 / 433.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002788/0.3682, allocations: 161.2 kB / 434 MB, free: 3.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3682, allocations: 8 kB / 434 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3682, allocations: 7.938 kB / 434 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.3683, allocations: 4 kB / 434 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3684, allocations: 39.92 kB / 434.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.3684, allocations: 8.438 kB / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.3685, allocations: 11.98 kB / 434.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3685, allocations: 16 kB / 434.1 MB, free: 2.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$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 (18): * Single equations (assignments): 18 * 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.0002059/0.3687, allocations: 141.7 kB / 434.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.369, allocations: 136.3 kB / 434.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.198e-05/0.369, allocations: 29.11 kB / 434.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3691, allocations: 0 / 434.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3691, allocations: 7.938 kB / 434.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3691, allocations: 4 kB / 434.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.3693, allocations: 185.6 kB / 434.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3693, allocations: 7.938 kB / 434.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3694, allocations: 23.98 kB / 434.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3694, allocations: 0 / 434.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3694, allocations: 15.92 kB / 434.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3694, allocations: 3.938 kB / 434.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3694, allocations: 0 / 434.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3697, allocations: 157 kB / 434.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3698, allocations: 109 kB / 434.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3698, allocations: 3.938 kB / 434.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.3699, allocations: 11.98 kB / 434.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-06/0.3699, allocations: 0 / 434.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3699, allocations: 4 kB / 434.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.37, allocations: 115.2 kB / 435 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.37, allocations: 0 / 435 MB, free: 1.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3703, allocations: 16 kB / 435.1 MB, free: 1.875 MB / 334.1 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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 0.0002377/0.3705, allocations: 119.1 kB / 435.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.3708, allocations: 99.77 kB / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3708, allocations: 0 / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.3708, allocations: 1 kB / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.3713, allocations: 90.25 kB / 435.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.3719, allocations: 265.1 kB / 435.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.3724, allocations: 0.72 MB / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.3725, allocations: 9.078 kB / 436.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.3725, allocations: 15.44 kB / 436.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3725, allocations: 0 / 436.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of Templates: time 0.005166/0.3777, allocations: 1.209 MB / 437.6 MB, free: 15.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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: 5.1080114440992475]