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.001645/0.001645, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001394/0.001394, allocations: 185 kB / 24.46 MB, free: 3.863 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.431/1.431, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.001936/0.001936, allocations: 51.92 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2705, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002837/0.2733, allocations: 0.9282 MB / 424.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004745/0.2738, allocations: 139.6 kB / 424.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2739, allocations: 3.938 kB / 424.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.274, allocations: 15.86 kB / 424.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.2742, allocations: 7.922 kB / 424.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.2745, allocations: 51.89 kB / 425 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2746, allocations: 67.7 kB / 425 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2748, allocations: 39.62 kB / 425.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.2748, allocations: 27.92 kB / 425.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.2749, allocations: 35.78 kB / 425.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.2749, allocations: 4 kB / 425.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.275, allocations: 11.94 kB / 425.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.275, allocations: 27.91 kB / 425.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.2751, allocations: 39.73 kB / 425.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2753, allocations: 90.58 kB / 425.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2753, allocations: 4 kB / 425.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2753, allocations: 0 / 425.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2753, allocations: 0 / 425.3 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.0006719/0.276, allocations: 341.7 kB / 425.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.276, allocations: 12.03 kB / 425.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.2761, allocations: 12.84 kB / 425.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.2764, allocations: 162.2 kB / 425.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2764, allocations: 8.375 kB / 425.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2764, allocations: 8.312 kB / 425.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.2769, allocations: 238.2 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2769, allocations: 192 / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.2769, allocations: 7.938 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2769, allocations: 0 / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.277, allocations: 43.97 kB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.2772, allocations: 137.2 kB / 426.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.2775, allocations: 131 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2776, allocations: 84.81 kB / 426.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2776, allocations: 4 kB / 426.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2777, allocations: 38.56 kB / 426.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2777, allocations: 0 / 426.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003612/0.278, allocations: 185.6 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.2781, allocations: 63.41 kB / 426.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.2783, allocations: 157.7 kB / 426.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2783, allocations: 29.7 kB / 426.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.405e-05/0.2784, allocations: 96.45 kB / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2784, allocations: 8 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.2785, allocations: 41.59 kB / 427.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2787, allocations: 326.8 kB / 427.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.2787, allocations: 23.98 kB / 427.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2788, allocations: 125.7 kB / 427.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.2791, allocations: 149.5 kB / 427.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2791, allocations: 0 / 427.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002756/0.2793, allocations: 157.4 kB / 427.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2794, allocations: 11.94 kB / 427.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2794, allocations: 4 kB / 427.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.2794, allocations: 7.938 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2795, allocations: 31.98 kB / 427.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.2795, allocations: 11.92 kB / 427.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.2796, allocations: 11.95 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.2796, allocations: 8.438 kB / 427.9 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.0001494/0.2798, allocations: 153.7 kB / 428.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.28, allocations: 141 kB / 428.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.28, allocations: 17.12 kB / 428.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.28, allocations: 7.938 kB / 428.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2801, allocations: 0 / 428.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2801, allocations: 0 / 428.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.2802, allocations: 121.3 kB / 428.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2802, allocations: 3.938 kB / 428.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.2803, allocations: 39.92 kB / 428.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2803, allocations: 0 / 428.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2803, allocations: 0 / 428.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2803, allocations: 4 kB / 428.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2803, allocations: 7.922 kB / 428.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.2806, allocations: 164.9 kB / 428.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.2806, allocations: 31.83 kB / 428.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.2807, allocations: 4 kB / 428.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.2807, allocations: 0 / 428.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.2807, allocations: 3.938 kB / 428.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2807, allocations: 11.98 kB / 428.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.2808, allocations: 122.1 kB / 428.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2808, allocations: 0 / 428.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.2811, allocations: 16 kB / 428.8 MB, free: 9.227 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.0001276/0.2812, allocations: 107.2 kB / 428.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2814, allocations: 108.7 kB / 429 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2814, allocations: 0 / 429 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.2814, allocations: 0 / 429 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2818, allocations: 87.91 kB / 429 MB, free: 8.922 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.2823, allocations: 291.7 kB / 429.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2824, allocations: 101.2 kB / 429.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2824, allocations: 15.44 kB / 429.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2824, allocations: 3.938 kB / 429.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of Templates: time 0.003506/0.286, allocations: 1.391 MB / 430.8 MB, free: 7.082 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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: 6.882517745252699]