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.001535/0.001535, allocations: 113 kB / 19.04 MB, free: 3.254 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.001323/0.001323, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.587/1.587, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.001567/0.001567, allocations: 47.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3705, allocations: 52.14 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002642/0.3731, allocations: 0.9439 MB / 421.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004286/0.3735, allocations: 143.5 kB / 421.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.3736, allocations: 3.938 kB / 421.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.3738, allocations: 19.86 kB / 422 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.3739, allocations: 3.938 kB / 422 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3742, allocations: 51.88 kB / 422 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3743, allocations: 63.78 kB / 422.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3745, allocations: 27.98 kB / 422.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.3745, allocations: 27.91 kB / 422.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.3746, allocations: 47.77 kB / 422.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.3747, allocations: 8 kB / 422.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.3747, allocations: 4 kB / 422.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.792e-05/0.3747, allocations: 27.92 kB / 422.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.3748, allocations: 47.61 kB / 422.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.375, allocations: 100.8 kB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.375, allocations: 0 / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.375, allocations: 0 / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.375, allocations: 0 / 422.4 MB, free: 13.57 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.0006239/0.3756, allocations: 422.9 kB / 422.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3757, allocations: 11.97 kB / 422.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3757, allocations: 16.84 kB / 422.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.376, allocations: 208.1 kB / 423 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.376, allocations: 8.375 kB / 423 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.376, allocations: 4.375 kB / 423 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.3765, allocations: 235.7 kB / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3765, allocations: 192 / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3765, allocations: 7.938 kB / 423.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3765, allocations: 0 / 423.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.3766, allocations: 51.91 kB / 423.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.3769, allocations: 193.5 kB / 423.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3771, allocations: 142.9 kB / 423.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3773, allocations: 80.81 kB / 423.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3773, allocations: 0 / 423.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3773, allocations: 34.56 kB / 423.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.3773, allocations: 0 / 423.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003415/0.3777, allocations: 184.6 kB / 423.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.3777, allocations: 63.34 kB / 424 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3779, allocations: 167.8 kB / 424.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3779, allocations: 29.7 kB / 424.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.174e-05/0.378, allocations: 92.47 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.3781, allocations: 3.984 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.3781, allocations: 45.66 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3783, allocations: 322.8 kB / 424.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.3783, allocations: 23.98 kB / 424.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3785, allocations: 120.8 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3786, allocations: 157.5 kB / 424.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3787, allocations: 0 / 424.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002235/0.3789, allocations: 157.3 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3789, allocations: 8.5 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3789, allocations: 11.94 kB / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3789, allocations: 4 kB / 425.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3791, allocations: 31.92 kB / 425.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.3791, allocations: 15.94 kB / 425.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.3791, allocations: 11.95 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3791, allocations: 8 kB / 425.2 MB, free: 10.43 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.0001563/0.3793, allocations: 153.7 kB / 425.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.3795, allocations: 141.5 kB / 425.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.3795, allocations: 21.12 kB / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3795, allocations: 0 / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3795, allocations: 0 / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3795, allocations: 0 / 425.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3797, allocations: 193.5 kB / 425.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3797, allocations: 0 / 425.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3798, allocations: 35.92 kB / 425.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3798, allocations: 0 / 425.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3798, allocations: 3.938 kB / 425.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3799, allocations: 4 kB / 425.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3799, allocations: 7.938 kB / 425.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.3801, allocations: 160.9 kB / 425.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3802, allocations: 109 kB / 426 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3802, allocations: 7.938 kB / 426 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.3802, allocations: 0 / 426 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.3802, allocations: 4 kB / 426 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3802, allocations: 0 / 426 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.3803, allocations: 122.1 kB / 426.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3803, allocations: 4 kB / 426.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.3806, allocations: 16 kB / 426.1 MB, free: 9.367 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.0001414/0.3807, allocations: 115.7 kB / 426.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.3809, allocations: 100.2 kB / 426.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3809, allocations: 4.062 kB / 426.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3809, allocations: 0 / 426.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3813, allocations: 93.69 kB / 426.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.3818, allocations: 258 kB / 426.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3822, allocations: 0.7201 MB / 427.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.3822, allocations: 13.08 kB / 427.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.3822, allocations: 15.44 kB / 427.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3822, allocations: 0 / 427.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of Templates: time 0.004339/0.3866, allocations: 1.206 MB / 428.7 MB, free: 6.816 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: 5.060719111002982]