Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00118/0.00118, allocations: 80.06 kB / 21.18 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.001202/0.001202, allocations: 141.1 kB / 24.54 MB, free: 36 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 1.001/1.001, allocations: 173.3 MB / 201.1 MB, free: 9.344 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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.803e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002736/0.002774, allocations: 1.057 MB / 269.1 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.005663, allocations: 147.4 kB / 269.2 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.005748, allocations: 7.938 kB / 269.2 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.689e-05/0.005835, allocations: 7.875 kB / 269.2 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.989e-05/0.005935, allocations: 11.92 kB / 269.2 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.006122, allocations: 43.83 kB / 269.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.349e-05/0.006215, allocations: 67.83 kB / 269.3 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.006321, allocations: 35.91 kB / 269.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.5e-05/0.006366, allocations: 31.91 kB / 269.4 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.006406, allocations: 23.89 kB / 269.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.006428, allocations: 11.94 kB / 269.4 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-06/0.006438, allocations: 4 kB / 269.4 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.006503, allocations: 23.92 kB / 269.5 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.006545, allocations: 19.92 kB / 269.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.006678, allocations: 67.69 kB / 269.5 MB, free: 4.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006682, allocations: 0 / 269.5 MB, free: 4.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.006684, allocations: 4 kB / 269.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.006689, allocations: 0 / 269.6 MB, free: 4.875 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.000385/0.007074, allocations: 432.1 kB / 270 MB, free: 4.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.007112, allocations: 12.02 kB / 270 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.00715, allocations: 20.84 kB / 270 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.007308, allocations: 152 kB / 270.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.007319, allocations: 8.312 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.00733, allocations: 12.38 kB / 270.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.007577, allocations: 177.1 kB / 270.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.007584, allocations: 192 / 270.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.007594, allocations: 4.125 kB / 270.4 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.007601, allocations: 4 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.63e-05/0.007637, allocations: 19.98 kB / 270.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.007748, allocations: 140.5 kB / 270.5 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.007898, allocations: 99.09 kB / 270.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.007955, allocations: 52.03 kB / 270.7 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.007962, allocations: 4 kB / 270.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.007982, allocations: 41.33 kB / 270.7 MB, free: 3.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 7.92e-07/0.007982, allocations: 0 / 270.7 MB, free: 3.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001625/0.008145, allocations: 121.5 kB / 270.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.008187, allocations: 71.3 kB / 270.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.008274, allocations: 197.9 kB / 271.1 MB, free: 3.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.008285, allocations: 29.7 kB / 271.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.008327, allocations: 135.2 kB / 271.2 MB, free: 2.996 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.008338, allocations: 11.98 kB / 271.3 MB, free: 2.984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.008361, allocations: 23.38 kB / 271.3 MB, free: 2.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.008461, allocations: 492.1 kB / 271.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.008471, allocations: 7.984 kB / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.008494, allocations: 27.31 kB / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.008518, allocations: 19.38 kB / 271.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.008519, allocations: 0 / 271.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.802e-05/0.008567, allocations: 57.58 kB / 271.9 MB, free: 2.328 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.008578, allocations: 12.06 kB / 271.9 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008582, allocations: 3.938 kB / 271.9 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.008591, allocations: 0 / 271.9 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.008626, allocations: 8 kB / 271.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.008629, allocations: 0 / 271.9 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.008641, allocations: 4 kB / 271.9 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.008646, allocations: 4 kB / 271.9 MB, free: 2.297 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: 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 6.793e-05/0.008714, allocations: 156.6 kB / 272.1 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.008799, allocations: 113.5 kB / 272.2 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.008826, allocations: 24.98 kB / 272.2 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.008829, allocations: 8 kB / 272.2 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.008832, allocations: 0 / 272.2 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.008836, allocations: 3.984 kB / 272.2 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.796e-05/0.008904, allocations: 136.5 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008905, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.008958, allocations: 27.98 kB / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.008959, allocations: 0 / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008966, allocations: 4 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.008967, allocations: 3.938 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008968, allocations: 0 / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.00907, allocations: 140.3 kB / 272.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.009102, allocations: 31.83 kB / 272.5 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.009119, allocations: 4 kB / 272.5 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.009131, allocations: 7.938 kB / 272.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-06/0.009133, allocations: 0 / 272.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.009137, allocations: 4 kB / 272.6 MB, free: 1.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.009187, allocations: 150.2 kB / 272.7 MB, free: 1.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009187, allocations: 0 / 272.7 MB, free: 1.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001186/0.009306, allocations: 16 kB / 272.7 MB, free: 1.41 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: 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.753e-05/0.009383, allocations: 95.25 kB / 272.8 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.75e-05/0.009471, allocations: 50.42 kB / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009472, allocations: 0 / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.009473, allocations: 0 / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.009753, allocations: 66.91 kB / 272.9 MB, free: 1.195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.009988, allocations: 230.5 kB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.01003, allocations: 71.33 kB / 273.2 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.01004, allocations: 8.484 kB / 273.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.01006, allocations: 12.5 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01006, allocations: 0 / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of Templates: time 0.002407/0.01247, allocations: 1.023 MB / 274.3 MB, free: 15.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6776862400583923]