Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001286/0.001286, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001286/0.001286, allocations: 170.5 kB / 24.82 MB, free: 9.266 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 1.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.781e-05, allocations: 12.78 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001726/0.001744, allocations: 1.038 MB / 274.4 MB, free: 248 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.002161, allocations: 135.5 kB / 274.6 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.002279, allocations: 7.938 kB / 274.6 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.002411, allocations: 11.86 kB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.002531, allocations: 19.86 kB / 274.6 MB, free: 72 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.002739, allocations: 43.88 kB / 274.7 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.002861, allocations: 63.78 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.00297, allocations: 35.91 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.003023, allocations: 35.89 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.003072, allocations: 23.91 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.003092, allocations: 4 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.003103, allocations: 4 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.216e-05/0.003166, allocations: 27.91 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.003202, allocations: 31.86 kB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003318, allocations: 59.73 kB / 274.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003319, allocations: 4 kB / 274.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00332, allocations: 0 / 274.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003323, allocations: 0 / 274.9 MB, free: 15.74 MB / 266.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.00054/0.003863, allocations: 436 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.0039, allocations: 8.031 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.003933, allocations: 20.89 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.00408, allocations: 156.9 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.00409, allocations: 8.375 kB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.0041, allocations: 12.38 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.004294, allocations: 152.7 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004301, allocations: 192 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.00431, allocations: 8.125 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.004317, allocations: 7.984 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.004339, allocations: 15.98 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.78e-05/0.004437, allocations: 117.1 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.004561, allocations: 87.08 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.00461, allocations: 55.67 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.004617, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.004638, allocations: 41.33 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 7.22e-07/0.004639, allocations: 0 / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001486/0.004787, allocations: 117.7 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.004829, allocations: 59.41 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.004918, allocations: 204.8 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.004929, allocations: 25.7 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.004973, allocations: 143.2 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.004983, allocations: 3.984 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.005012, allocations: 27.33 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.005137, allocations: 0.4884 MB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.005146, allocations: 3.984 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.005165, allocations: 23.31 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.005192, allocations: 31.38 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005194, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.054e-05/0.005244, allocations: 49.62 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005256, allocations: 8 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005261, allocations: 0 / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.005271, allocations: 3.938 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.6e-05/0.005307, allocations: 8 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.00531, allocations: 0 / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.005323, allocations: 3.953 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.005329, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.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: 0 () * 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 8.572e-05/0.005415, allocations: 160.6 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.005482, allocations: 101.5 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.005514, allocations: 17.19 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.005518, allocations: 7.938 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005519, allocations: 0 / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.005523, allocations: 0 / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.986e-05/0.005593, allocations: 121.1 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005593, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.005648, allocations: 20 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.005651, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.005655, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.005659, allocations: 7.984 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00566, allocations: 0 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.601e-05/0.005706, allocations: 84.27 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.00574, allocations: 23.89 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.005757, allocations: 4 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.005768, allocations: 7.938 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-06/0.005771, allocations: 0 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.005775, allocations: 4 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.005823, allocations: 150.1 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005823, allocations: 0 / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001162/0.005939, allocations: 12 kB / 277.9 MB, free: 12.46 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: 0 () * 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 7.007e-05/0.006009, allocations: 107.2 kB / 278 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.006083, allocations: 43.27 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006084, allocations: 0 / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.006085, allocations: 0 / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.006301, allocations: 63.8 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.006544, allocations: 214.6 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.932e-05/0.006593, allocations: 76.17 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.685e-05/0.00661, allocations: 0.5938 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.00668, allocations: 82.19 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.00668, allocations: 128 / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002809/0.009489, allocations: 1.049 MB / 279.6 MB, free: 10.8 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.729436619207263]