Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001698/0.001698, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.001978/0.001978, allocations: 183.5 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.483/1.483, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 55.91 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2689, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002327/0.2712, allocations: 0.9132 MB / 424 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.2716, allocations: 143.6 kB / 424.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.2717, allocations: 7.938 kB / 424.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.2718, allocations: 7.875 kB / 424.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.272, allocations: 19.86 kB / 424.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.2722, allocations: 43.89 kB / 424.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.2723, allocations: 71.77 kB / 424.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2725, allocations: 19.98 kB / 424.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.2725, allocations: 31.86 kB / 424.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.2726, allocations: 39.77 kB / 424.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.2726, allocations: 4 kB / 424.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.2727, allocations: 12 kB / 424.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.2727, allocations: 35.84 kB / 424.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.2728, allocations: 27.81 kB / 424.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.273, allocations: 101.8 kB / 424.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.273, allocations: 0 / 424.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.273, allocations: 0 / 424.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.273, allocations: 0 / 424.5 MB, free: 13.02 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.0005455/0.2735, allocations: 341.7 kB / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2735, allocations: 8.031 kB / 424.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.2736, allocations: 20.78 kB / 424.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.2738, allocations: 154.3 kB / 425 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2739, allocations: 8.375 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2739, allocations: 8.375 kB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.2743, allocations: 234.6 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2743, allocations: 192 / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2744, allocations: 7.938 kB / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2744, allocations: 0 / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.2745, allocations: 55.95 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2746, allocations: 129.2 kB / 425.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.2749, allocations: 138.8 kB / 425.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.275, allocations: 84.42 kB / 425.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.275, allocations: 3.938 kB / 425.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.275, allocations: 42.55 kB / 425.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.2751, allocations: 3.938 kB / 425.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000344/0.2754, allocations: 181.7 kB / 425.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.2755, allocations: 63.41 kB / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2756, allocations: 169.6 kB / 426.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2756, allocations: 25.7 kB / 426.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.2757, allocations: 88.47 kB / 426.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2757, allocations: 11.98 kB / 426.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.2758, allocations: 41.67 kB / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2759, allocations: 322.8 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.276, allocations: 19.98 kB / 426.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2761, allocations: 128.3 kB / 426.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.2763, allocations: 149.5 kB / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2763, allocations: 4 kB / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002477/0.2766, allocations: 157.6 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2766, allocations: 12.08 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2766, allocations: 4 kB / 427.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2766, allocations: 7.938 kB / 427.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.2767, allocations: 39.92 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2767, allocations: 4 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/0.2768, allocations: 7.953 kB / 427.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2768, allocations: 11.98 kB / 427.2 MB, free: 10.12 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.0001429/0.2769, allocations: 149.7 kB / 427.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.2771, allocations: 141.5 kB / 427.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.2772, allocations: 21.12 kB / 427.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2772, allocations: 7.875 kB / 427.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2772, allocations: 0 / 427.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2772, allocations: 3.984 kB / 427.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2773, allocations: 117.3 kB / 427.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2773, allocations: 4 kB / 427.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.2774, allocations: 27.92 kB / 427.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2774, allocations: 3.984 kB / 427.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2775, allocations: 8 kB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2775, allocations: 0 / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2775, allocations: 7.938 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2777, allocations: 168.2 kB / 427.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.2778, allocations: 31.83 kB / 427.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2778, allocations: 0 / 427.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.2778, allocations: 11.98 kB / 427.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-06/0.2778, allocations: 3.938 kB / 427.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.2778, allocations: 0 / 427.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.2779, allocations: 123.2 kB / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2779, allocations: 0 / 428 MB, free: 9.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.2782, allocations: 16 kB / 428 MB, free: 9.23 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.0001288/0.2783, allocations: 111.2 kB / 428.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.2785, allocations: 95.77 kB / 428.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2785, allocations: 3.938 kB / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-07/0.2785, allocations: 1 kB / 428.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2789, allocations: 91.91 kB / 428.3 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.2793, allocations: 266 kB / 428.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2795, allocations: 105.2 kB / 428.7 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.2795, allocations: 17.06 kB / 428.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.2795, allocations: 11.44 kB / 428.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2795, allocations: 0 / 428.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of Templates: time 0.004565/0.2841, allocations: 1.325 MB / 430 MB, free: 7.191 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.490141997113824]