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.0008689/0.0008689, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003665/0.003665, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 18.57 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 0.809/0.809, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.332e-06/1.332e-06, allocations: 0 / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.792e-05, allocations: 2.281 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001368/0.001386, allocations: 0.906 MB / 320.6 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002876/0.001674, allocations: 147.5 kB / 320.7 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.343e-05/0.001747, allocations: 3.938 kB / 320.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.026e-05/0.001838, allocations: 19.73 kB / 320.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.001949, allocations: 15.92 kB / 320.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.002107, allocations: 51.81 kB / 320.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002209, allocations: 59.78 kB / 320.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.002314, allocations: 35.95 kB / 320.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.002357, allocations: 35.89 kB / 321 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.002424, allocations: 35.89 kB / 321 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.002449, allocations: 8 kB / 321 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.002458, allocations: 8 kB / 321 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.002503, allocations: 27.86 kB / 321 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.002537, allocations: 27.91 kB / 321.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.002653, allocations: 87.69 kB / 321.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002655, allocations: 0 / 321.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002655, allocations: 0 / 321.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.002659, allocations: 4 kB / 321.1 MB, free: 4.402 MB / 282.7 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.0003431/0.003002, allocations: 345.6 kB / 321.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.00303, allocations: 8.922 kB / 321.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.00306, allocations: 16.89 kB / 321.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.003211, allocations: 153.5 kB / 321.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.00322, allocations: 4.375 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.003233, allocations: 12.38 kB / 321.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.003633, allocations: 235.6 kB / 321.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003641, allocations: 192 / 321.9 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.003649, allocations: 8.375 kB / 321.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.003655, allocations: 4.375 kB / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.003713, allocations: 51.84 kB / 322 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.638e-05/0.003809, allocations: 125.2 kB / 322.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.003972, allocations: 139 kB / 322.2 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.004052, allocations: 76.81 kB / 322.3 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.004062, allocations: 4 kB / 322.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.004083, allocations: 38.5 kB / 322.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.12e-07/0.004084, allocations: 0 / 322.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002203/0.004304, allocations: 177.8 kB / 322.5 MB, free: 2.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.004347, allocations: 63.41 kB / 322.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.004438, allocations: 168.6 kB / 322.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004447, allocations: 25.7 kB / 322.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.004481, allocations: 96.45 kB / 322.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.004495, allocations: 7.938 kB / 322.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.004523, allocations: 29.66 kB / 322.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.004589, allocations: 310.8 kB / 323.2 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.0046, allocations: 8 kB / 323.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.004618, allocations: 25.64 kB / 323.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.004643, allocations: 25.72 kB / 323.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004644, allocations: 0 / 323.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.754e-05/0.004692, allocations: 53.62 kB / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004703, allocations: 8 kB / 323.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.004706, allocations: 0 / 323.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.004718, allocations: 0 / 323.3 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.963e-05/0.004757, allocations: 8 kB / 323.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.004761, allocations: 0 / 323.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.004775, allocations: 11.83 kB / 323.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.004779, allocations: 0 / 323.3 MB, free: 2.016 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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 6.507e-05/0.004844, allocations: 133.9 kB / 323.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.004945, allocations: 141 kB / 323.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.004974, allocations: 25.11 kB / 323.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.004976, allocations: 0 / 323.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.004979, allocations: 0 / 323.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.004984, allocations: 11.92 kB / 323.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.464e-05/0.005038, allocations: 125.2 kB / 323.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005039, allocations: 0 / 323.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.005099, allocations: 23.98 kB / 323.8 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.005102, allocations: 8 kB / 323.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.005109, allocations: 4 kB / 323.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005109, allocations: 0 / 323.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00511, allocations: 0 / 323.8 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.005233, allocations: 176.8 kB / 324 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.005269, allocations: 23.89 kB / 324 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.005282, allocations: 4 kB / 324 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.005296, allocations: 7.984 kB / 324 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-06/0.005298, allocations: 0 / 324 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.005304, allocations: 8 kB / 324 MB, free: 1.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.005353, allocations: 115.1 kB / 324.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005353, allocations: 0 / 324.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.00548, allocations: 20 kB / 324.2 MB, free: 1.145 MB / 282.7 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 6.7e-05/0.005547, allocations: 107.8 kB / 324.3 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.005643, allocations: 63.78 kB / 324.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.005644, allocations: 0 / 324.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.005644, allocations: 4 kB / 324.3 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.005891, allocations: 87.84 kB / 324.4 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.006156, allocations: 283.5 kB / 324.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.113e-05/0.006217, allocations: 112.7 kB / 324.8 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.006239, allocations: 16.48 kB / 324.8 MB, free: 432 kB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006239, allocations: 0 / 324.8 MB, free: 432 kB / 282.7 MB Notification: Performance of Templates: time 0.001699/0.007938, allocations: 1.236 MB / 326 MB, free: 15.2 MB / 298.7 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: 3.925168490037322]