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.0009759/0.0009759, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.0009364/0.0009364, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.995/0.995, allocations: 173.4 MB / 201.1 MB, free: 8.473 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.924e-06/1.924e-06, allocations: 0 / 268 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.827e-05, allocations: 2.312 kB / 268 MB, free: 6.129 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.005175/0.005203, allocations: 0.9355 MB / 268.9 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004007/0.005604, allocations: 139.5 kB / 269.1 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.005691, allocations: 7.938 kB / 269.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.005806, allocations: 11.86 kB / 269.1 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.005955, allocations: 19.91 kB / 269.1 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.006173, allocations: 47.77 kB / 269.1 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.006303, allocations: 67.83 kB / 269.2 MB, free: 4.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.006431, allocations: 31.91 kB / 269.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.006491, allocations: 39.91 kB / 269.3 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.006579, allocations: 31.89 kB / 269.3 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.006607, allocations: 8 kB / 269.3 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.006623, allocations: 4 kB / 269.3 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.006684, allocations: 31.91 kB / 269.4 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.006728, allocations: 19.92 kB / 269.4 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.006876, allocations: 75.61 kB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006879, allocations: 0 / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00688, allocations: 0 / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.006884, allocations: 0 / 269.4 MB, free: 4.668 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.006507/0.01339, allocations: 444 kB / 269.9 MB, free: 4.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.01343, allocations: 16.03 kB / 269.9 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.01349, allocations: 16.84 kB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.01371, allocations: 168.2 kB / 270.1 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.01372, allocations: 4.312 kB / 270.1 MB, free: 3.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.01375, allocations: 12.38 kB / 270.1 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.01409, allocations: 176.4 kB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.01411, allocations: 192 / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.01412, allocations: 384 / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01413, allocations: 4.375 kB / 270.3 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.01418, allocations: 27.86 kB / 270.3 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.01433, allocations: 140.5 kB / 270.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.01453, allocations: 95.09 kB / 270.5 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.01462, allocations: 55.97 kB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.01463, allocations: 4 kB / 270.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.01466, allocations: 41.39 kB / 270.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.01466, allocations: 0 / 270.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002621/0.01492, allocations: 125.8 kB / 270.8 MB, free: 3.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003068/0.01799, allocations: 59.41 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.01814, allocations: 220.6 kB / 271 MB, free: 2.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.01815, allocations: 37.64 kB / 271.1 MB, free: 2.879 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.01821, allocations: 135.2 kB / 271.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.01823, allocations: 4 kB / 271.2 MB, free: 2.734 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.01827, allocations: 35.25 kB / 271.2 MB, free: 2.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.01841, allocations: 0.4923 MB / 271.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.01842, allocations: 4 kB / 271.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.01845, allocations: 27.38 kB / 271.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.01849, allocations: 19.38 kB / 271.8 MB, free: 2.121 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01849, allocations: 0 / 271.8 MB, free: 2.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.369e-05/0.01857, allocations: 57.58 kB / 271.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01859, allocations: 10.81 kB / 271.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.01859, allocations: 0 / 271.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.01861, allocations: 0 / 271.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.01867, allocations: 4 kB / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.01867, allocations: 8.062 kB / 271.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.0187, allocations: 7.938 kB / 271.9 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.0187, allocations: 0 / 271.9 MB, free: 2.031 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 9.064e-05/0.01879, allocations: 168.5 kB / 272 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003166/0.02196, allocations: 101.3 kB / 272.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.154e-05/0.02202, allocations: 17.12 kB / 272.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.02202, allocations: 0 / 272.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.02203, allocations: 3.984 kB / 272.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.02203, allocations: 3.938 kB / 272.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.02214, allocations: 144.5 kB / 272.3 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02214, allocations: 8 kB / 272.3 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.02225, allocations: 27.92 kB / 272.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.02225, allocations: 96 / 272.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.02226, allocations: 8 kB / 272.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.02227, allocations: 0 / 272.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.02227, allocations: 3.984 kB / 272.3 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.02244, allocations: 148.2 kB / 272.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.0225, allocations: 27.83 kB / 272.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.02252, allocations: 4 kB / 272.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/0.02255, allocations: 4 kB / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-06/0.02255, allocations: 0 / 272.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.02256, allocations: 8 kB / 272.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.02264, allocations: 151.2 kB / 272.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02264, allocations: 0 / 272.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001244/0.02388, allocations: 16 kB / 272.7 MB, free: 1.133 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 0.0001511/0.02403, allocations: 107.1 kB / 272.8 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.02419, allocations: 47.59 kB / 272.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02419, allocations: 0 / 272.8 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.02419, allocations: 4.125 kB / 272.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.02452, allocations: 67.81 kB / 272.9 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.02488, allocations: 234.5 kB / 273.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.02492, allocations: 79.08 kB / 273.2 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.85e-05/0.02494, allocations: 0.5 kB / 273.2 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.02498, allocations: 20.48 kB / 273.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02498, allocations: 0 / 273.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of Templates: time 0.003081/0.02806, allocations: 1.156 MB / 274.4 MB, free: 15.39 MB / 266.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 -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.784365379717201]