Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001745/0.001745, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001654/0.001654, allocations: 205.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 55.91 kB / 378.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2612, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002986/0.2642, allocations: 0.9142 MB / 432.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.2647, allocations: 131.5 kB / 432.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.2648, allocations: 11.94 kB / 432.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.265, allocations: 11.86 kB / 432.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2651, allocations: 3.938 kB / 432.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2654, allocations: 51.88 kB / 432.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.2656, allocations: 63.84 kB / 432.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2658, allocations: 24.22 kB / 432.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.2658, allocations: 27.86 kB / 432.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.2659, allocations: 35.77 kB / 432.8 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.2659, allocations: 8 kB / 432.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.2659, allocations: 4 kB / 432.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.266, allocations: 31.92 kB / 432.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.2661, allocations: 35.73 kB / 432.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2663, allocations: 85.12 kB / 433 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2663, allocations: 0 / 433 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2663, allocations: 0 / 433 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2663, allocations: 0 / 433 MB, free: 5.32 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.0004879/0.2668, allocations: 325.5 kB / 433.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2669, allocations: 8.031 kB / 433.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.2669, allocations: 12.89 kB / 433.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.2672, allocations: 146.3 kB / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.2672, allocations: 12.38 kB / 433.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2672, allocations: 8.375 kB / 433.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.2677, allocations: 226.1 kB / 433.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2677, allocations: 192 / 433.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2677, allocations: 7.938 kB / 433.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.2677, allocations: 4 kB / 433.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.2678, allocations: 35.98 kB / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.268, allocations: 129.2 kB / 433.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2682, allocations: 119 kB / 434 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.2683, allocations: 68.83 kB / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2683, allocations: 0 / 434.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2684, allocations: 34.56 kB / 434.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.2684, allocations: 0 / 434.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003398/0.2687, allocations: 160.8 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.2688, allocations: 59.41 kB / 434.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.269, allocations: 152.4 kB / 434.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.112e-05/0.2691, allocations: 29.7 kB / 434.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.2691, allocations: 92.41 kB / 434.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2692, allocations: 7.984 kB / 434.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.2692, allocations: 41.66 kB / 434.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2694, allocations: 322.8 kB / 435 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.2694, allocations: 20 kB / 435 MB, free: 3.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2696, allocations: 117.7 kB / 435.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2698, allocations: 149.5 kB / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2698, allocations: 4 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000239/0.27, allocations: 153.3 kB / 435.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.27, allocations: 8.5 kB / 435.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.27, allocations: 4 kB / 435.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.27, allocations: 11.94 kB / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.071e-05/0.2701, allocations: 7.938 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.2701, allocations: 15.91 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.2702, allocations: 19.89 kB / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.2702, allocations: 8 kB / 435.5 MB, free: 2.582 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001638/0.2703, allocations: 137.7 kB / 435.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.2705, allocations: 117.6 kB / 435.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.2706, allocations: 21.05 kB / 435.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2706, allocations: 8 kB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2706, allocations: 0 / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2706, allocations: 0 / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2707, allocations: 125.2 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2707, allocations: 4 kB / 435.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2707, allocations: 0 / 435.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2707, allocations: 7.938 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2707, allocations: 0 / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2707, allocations: 3.938 kB / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2707, allocations: 0 / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.271, allocations: 152.2 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.271, allocations: 27.89 kB / 436.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.2711, allocations: 8 kB / 436.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.2711, allocations: 3.938 kB / 436.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-06/0.2711, allocations: 0 / 436.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2711, allocations: 8 kB / 436.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.2712, allocations: 110.1 kB / 436.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2712, allocations: 3.938 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.2714, allocations: 16 kB / 436.2 MB, free: 1.785 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,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 0.0001333/0.2716, allocations: 115.1 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2718, allocations: 83.84 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2718, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.2718, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.2722, allocations: 81.98 kB / 436.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.2726, allocations: 222.4 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.2727, allocations: 100.6 kB / 436.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.467e-05/0.2727, allocations: 4.656 kB / 436.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.2728, allocations: 11.44 kB / 436.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2728, allocations: 0 / 436.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of Templates: time 0.003994/0.2768, allocations: 1.189 MB / 438 MB, free: 15.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 4.63292800122872]