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.0009247/0.0009247, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008608/0.0008608, allocations: 144.9 kB / 24.89 MB, free: 8.785 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.8987/0.8987, allocations: 173.3 MB / 201.5 MB, free: 9.199 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.287e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001724/0.001747, allocations: 0.9873 MB / 269.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.002051, allocations: 151.4 kB / 269.6 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.002123, allocations: 3.938 kB / 269.6 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.693e-05/0.00222, allocations: 11.86 kB / 269.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.00233, allocations: 19.86 kB / 269.7 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.002497, allocations: 47.83 kB / 269.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.002603, allocations: 63.77 kB / 269.8 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.002693, allocations: 31.97 kB / 269.8 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.002741, allocations: 31.91 kB / 269.8 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.002817, allocations: 31.89 kB / 269.9 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.002839, allocations: 8 kB / 269.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.002849, allocations: 4 kB / 269.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.002892, allocations: 35.91 kB / 269.9 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.002925, allocations: 27.86 kB / 269.9 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003031, allocations: 67.73 kB / 270 MB, free: 4.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003033, allocations: 3.938 kB / 270 MB, free: 4.641 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003034, allocations: 0 / 270 MB, free: 4.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003037, allocations: 0 / 270 MB, free: 4.641 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.0002797/0.003317, allocations: 308.4 kB / 270.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.003346, allocations: 8.031 kB / 270.3 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.003377, allocations: 20.92 kB / 270.3 MB, free: 4.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.003524, allocations: 157.4 kB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.003533, allocations: 4.375 kB / 270.5 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.003545, allocations: 16.3 kB / 270.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.003743, allocations: 173.5 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.00375, allocations: 192 / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.003757, allocations: 384 / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.003761, allocations: 4.375 kB / 270.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.003786, allocations: 18.77 kB / 270.7 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.58e-05/0.003852, allocations: 75.73 kB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.003961, allocations: 76.19 kB / 270.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.004001, allocations: 48.34 kB / 270.9 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.004008, allocations: 4 kB / 270.9 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.004026, allocations: 30.56 kB / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.004027, allocations: 0 / 270.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001257/0.004153, allocations: 97.81 kB / 271 MB, free: 3.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.004194, allocations: 67.36 kB / 271.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.004268, allocations: 153.6 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.004278, allocations: 29.7 kB / 271.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.004306, allocations: 88.45 kB / 271.4 MB, free: 3.148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.004317, allocations: 7.938 kB / 271.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.004342, allocations: 21.7 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.004422, allocations: 330.8 kB / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.004427, allocations: 0 / 271.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.004442, allocations: 13.72 kB / 271.7 MB, free: 2.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.004471, allocations: 29.64 kB / 271.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004473, allocations: 0 / 271.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.78e-05/0.004521, allocations: 41.69 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.004532, allocations: 6.969 kB / 271.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004537, allocations: 0 / 271.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.004547, allocations: 4 kB / 271.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.004584, allocations: 11.94 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.004586, allocations: 0 / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.004598, allocations: 4 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.004601, allocations: 0 / 271.8 MB, free: 2.656 MB / 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 7.416e-05/0.004676, allocations: 132.6 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.005015, allocations: 73.66 kB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.00505, allocations: 17.12 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005052, allocations: 4 kB / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005054, allocations: 0 / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005057, allocations: 0 / 272.1 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.021e-05/0.005118, allocations: 93.69 kB / 272.1 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.005119, allocations: 4 kB / 272.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.005188, allocations: 31.86 kB / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.00519, allocations: 0 / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005195, allocations: 8 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.005197, allocations: 0 / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005197, allocations: 0 / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.738e-05/0.005245, allocations: 63.91 kB / 272.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.005281, allocations: 23.89 kB / 272.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.005299, allocations: 7.938 kB / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.155e-05/0.005311, allocations: 0 / 272.3 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-06/0.005313, allocations: 4 kB / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.005318, allocations: 96 / 272.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.718e-05/0.005345, allocations: 36.81 kB / 272.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005345, allocations: 0 / 272.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.659e-05/0.005442, allocations: 12 kB / 272.3 MB, free: 2.098 MB / 250.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 8.125e-05/0.005523, allocations: 92.41 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.005596, allocations: 40.23 kB / 272.5 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.0056, allocations: 8 kB / 272.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.005601, allocations: 0 / 272.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.005778, allocations: 65.59 kB / 272.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.006017, allocations: 224.9 kB / 272.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.006055, allocations: 79.45 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.461e-05/0.00607, allocations: 0.5 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.006124, allocations: 67.36 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.006125, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of Templates: time 0.002599/0.008724, allocations: 1.233 MB / 274.1 MB, free: 280 kB / 250.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] 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","",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.3676010938361287]