Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001316/0.001316, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001407/0.001407, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.8986/0.8986, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 274.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.737e-06/9.809e-06, allocations: 2.812 kB / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001365/0.001375, allocations: 0.9131 MB / 275.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.001649, allocations: 151.4 kB / 275.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.001712, allocations: 4.562 kB / 275.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.648e-05/0.001799, allocations: 19.8 kB / 275.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.001891, allocations: 17.88 kB / 275.3 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.002033, allocations: 43.89 kB / 275.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.002124, allocations: 67.7 kB / 275.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.002213, allocations: 27.98 kB / 275.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.002255, allocations: 39.89 kB / 275.5 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.002318, allocations: 32.52 kB / 275.5 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.002334, allocations: 4 kB / 275.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.002344, allocations: 5.125 kB / 275.5 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.002386, allocations: 35.84 kB / 275.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.002413, allocations: 19.94 kB / 275.6 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.002512, allocations: 73.06 kB / 275.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002513, allocations: 0 / 275.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002514, allocations: 0 / 275.6 MB, free: 3.027 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.00252, allocations: 4 kB / 275.6 MB, free: 3.023 MB / 250.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.0003127/0.002833, allocations: 444 kB / 276.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.00286, allocations: 15.97 kB / 276.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.002893, allocations: 20.84 kB / 276.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.003031, allocations: 156.4 kB / 276.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.00304, allocations: 4.375 kB / 276.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.003049, allocations: 8.375 kB / 276.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.00322, allocations: 168.5 kB / 276.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.003227, allocations: 192 / 276.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.003233, allocations: 384 / 276.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.003239, allocations: 4.375 kB / 276.4 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.003261, allocations: 15.92 kB / 276.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.259e-05/0.003344, allocations: 117.2 kB / 276.6 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.00346, allocations: 95.05 kB / 276.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.003509, allocations: 52.03 kB / 276.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.003515, allocations: 0 / 276.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003534, allocations: 41.33 kB / 276.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 6.81e-07/0.003534, allocations: 0 / 276.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001377/0.003672, allocations: 116.8 kB / 276.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.003709, allocations: 59.41 kB / 276.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.003799, allocations: 216.6 kB / 277.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.003809, allocations: 29.7 kB / 277.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.003848, allocations: 139.2 kB / 277.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.003858, allocations: 3.984 kB / 277.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.003888, allocations: 35.31 kB / 277.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.003992, allocations: 0.4961 MB / 277.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-06/0.003998, allocations: 0 / 277.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.004014, allocations: 27.3 kB / 277.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.004038, allocations: 27.36 kB / 277.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.00404, allocations: 0 / 277.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.095e-05/0.004091, allocations: 57.58 kB / 277.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.0041, allocations: 7.938 kB / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004103, allocations: 0 / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.004111, allocations: 4.062 kB / 278 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.004143, allocations: 8 kB / 278 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.004145, allocations: 0 / 278 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.004156, allocations: 0 / 278 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.004161, allocations: 7.938 kB / 278 MB, free: 480 kB / 250.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.356e-05/0.004225, allocations: 156.6 kB / 278.1 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.004295, allocations: 101.5 kB / 278.2 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.004324, allocations: 17.12 kB / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004325, allocations: 0 / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.004327, allocations: 0 / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004329, allocations: 4 kB / 278.2 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.358e-05/0.004393, allocations: 125.1 kB / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.004394, allocations: 0 / 278.4 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.004454, allocations: 24 kB / 278.4 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.004456, allocations: 3.984 kB / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.004461, allocations: 0 / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.004462, allocations: 0 / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.004464, allocations: 4 kB / 278.4 MB, free: 0 / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.288e-05/0.004517, allocations: 80.28 kB / 278.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.004551, allocations: 27.83 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.004566, allocations: 4 kB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.309e-05/0.004579, allocations: 8 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-06/0.004581, allocations: 0 / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.004585, allocations: 4 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.59e-05/0.004631, allocations: 150.4 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004631, allocations: 0 / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.00475, allocations: 15.94 kB / 278.7 MB, free: 15.7 MB / 266.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.945e-05/0.004819, allocations: 103.2 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.004886, allocations: 43.66 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.004887, allocations: 4 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.004888, allocations: 0 / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.005092, allocations: 70.48 kB / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.005307, allocations: 226.5 kB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.433e-05/0.005341, allocations: 79.33 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.005354, allocations: 4.484 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.005407, allocations: 82.2 kB / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005408, allocations: 0 / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of Templates: time 0.002461/0.007869, allocations: 1.252 MB / 280.5 MB, free: 13.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6075917719863355]