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.0009962/0.0009962, allocations: 79.75 kB / 21.19 MB, free: 3.379 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.001095/0.001095, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.981/0.981, allocations: 177.1 MB / 205 MB, free: 5.625 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.833e-06/1.833e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.19e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.005274/0.005306, allocations: 1.05 MB / 274 MB, free: 492 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004559/0.005762, allocations: 143.4 kB / 274.2 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.005865, allocations: 7.938 kB / 274.2 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.005997, allocations: 7.875 kB / 274.2 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.00613, allocations: 19.86 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.006396, allocations: 39.89 kB / 274.2 MB, free: 272 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.006542, allocations: 63.78 kB / 274.3 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.006694, allocations: 39.88 kB / 274.4 MB, free: 168 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.006757, allocations: 35.91 kB / 274.4 MB, free: 132 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.006814, allocations: 19.91 kB / 274.4 MB, free: 112 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.006845, allocations: 12 kB / 274.4 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.00686, allocations: 4 kB / 274.4 MB, free: 96 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.006948, allocations: 23.92 kB / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.007002, allocations: 23.91 kB / 274.5 MB, free: 48 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.007175, allocations: 59.83 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.00718, allocations: 0 / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.007182, allocations: 3.938 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.007187, allocations: 0 / 274.5 MB, free: 15.98 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.0004571/0.007644, allocations: 436.1 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.007685, allocations: 8.031 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.007744, allocations: 28.83 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.01098, allocations: 152.9 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.01099, allocations: 8.375 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.01101, allocations: 16.31 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.01133, allocations: 168.7 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.01134, allocations: 192 / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.01135, allocations: 4.125 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.01136, allocations: 4 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.01141, allocations: 19.98 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.01155, allocations: 140.5 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.01175, allocations: 98.84 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.01184, allocations: 51.66 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.01185, allocations: 7.984 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.01188, allocations: 37.39 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.01188, allocations: 4 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002343/0.01212, allocations: 125.7 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.01217, allocations: 63.34 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.01229, allocations: 200.9 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.01231, allocations: 33.7 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.01235, allocations: 131.2 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.01237, allocations: 8 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.01241, allocations: 27.31 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01253, allocations: 496.1 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.01255, allocations: 4 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.01257, allocations: 27.36 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.01261, allocations: 27.31 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01261, allocations: 3.938 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.969e-05/0.01269, allocations: 53.62 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01271, allocations: 8 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.01272, allocations: 7.938 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01273, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.01279, allocations: 4 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01279, allocations: 12.05 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.01281, allocations: 3.953 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.01282, allocations: 0 / 276.9 MB, free: 13.39 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.448e-05/0.0129, allocations: 160.6 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.01302, allocations: 109.5 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01306, allocations: 17.06 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01306, allocations: 4 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01307, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01307, allocations: 0 / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.01319, allocations: 140.5 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01319, allocations: 0 / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.01328, allocations: 27.98 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01328, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01329, allocations: 8 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01329, allocations: 3.938 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0133, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.01344, allocations: 147.9 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.01349, allocations: 23.88 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.01351, allocations: 4 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.01353, allocations: 7.938 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-06/0.01354, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.01354, allocations: 4 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.0136, allocations: 151.2 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0136, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003216/0.01682, allocations: 16 kB / 277.7 MB, free: 12.51 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 0.0001103/0.01693, allocations: 95.25 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.01705, allocations: 43.61 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01705, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.01705, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.0174, allocations: 66.81 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.01776, allocations: 230.6 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.0178, allocations: 76.17 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.127e-05/0.01783, allocations: 4.5 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.01786, allocations: 12.5 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01786, allocations: 0 / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of Templates: time 0.006355/0.02421, allocations: 1.022 MB / 279.2 MB, free: 10.93 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.7929529370740056]