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.0008428/0.0008428, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009767/0.0009767, allocations: 168.6 kB / 25 MB, free: 8.863 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.633 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 2.765e-06/2.765e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.257e-05/4.534e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002108/0.002153, allocations: 1.042 MB / 274.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000368/0.002521, allocations: 151.4 kB / 274.3 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.002634, allocations: 3.938 kB / 274.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.002735, allocations: 11.88 kB / 274.3 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.764e-05/0.002833, allocations: 11.92 kB / 274.3 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.003043, allocations: 43.83 kB / 274.3 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.003156, allocations: 63.83 kB / 274.4 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.003287, allocations: 39.89 kB / 274.4 MB, free: 480 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.003336, allocations: 31.91 kB / 274.5 MB, free: 448 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.003379, allocations: 19.92 kB / 274.5 MB, free: 428 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.003401, allocations: 7.938 kB / 274.5 MB, free: 420 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.003414, allocations: 8 kB / 274.5 MB, free: 412 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.003484, allocations: 31.89 kB / 274.5 MB, free: 380 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.003531, allocations: 23.94 kB / 274.6 MB, free: 356 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.003666, allocations: 59.73 kB / 274.6 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.003669, allocations: 0 / 274.6 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.003671, allocations: 0 / 274.6 MB, free: 296 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.003676, allocations: 3.938 kB / 274.6 MB, free: 292 kB / 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.0004693/0.004145, allocations: 436.1 kB / 275 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.004187, allocations: 12.03 kB / 275.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.004242, allocations: 16.89 kB / 275.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.004468, allocations: 157 kB / 275.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.00448, allocations: 384 / 275.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.004497, allocations: 12.38 kB / 275.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.004801, allocations: 172.2 kB / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004809, allocations: 192 / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.004823, allocations: 8.125 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.004839, allocations: 8 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.004883, allocations: 15.98 kB / 275.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.00501, allocations: 140.5 kB / 275.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.005169, allocations: 99.09 kB / 275.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.005237, allocations: 54.56 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.005245, allocations: 4 kB / 275.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.005268, allocations: 37.39 kB / 275.8 MB, free: 15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.005269, allocations: 0 / 275.8 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002002/0.00547, allocations: 125.7 kB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.00552, allocations: 67.34 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.005619, allocations: 205.1 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005629, allocations: 25.7 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.00568, allocations: 143.2 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.005697, allocations: 3.984 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.005728, allocations: 27.33 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.005854, allocations: 492.1 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.005868, allocations: 11.98 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.005889, allocations: 19.38 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.005923, allocations: 31.31 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005925, allocations: 4 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.367e-05/0.005989, allocations: 49.62 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006003, allocations: 4 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.006011, allocations: 7.938 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.006024, allocations: 0 / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.006078, allocations: 12 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.006085, allocations: 0 / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.0061, allocations: 3.953 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.006105, allocations: 4 kB / 277 MB, free: 13.7 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.382e-05/0.006189, allocations: 160.6 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.006288, allocations: 108.9 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.006327, allocations: 25.09 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.00633, allocations: 3.984 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006334, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.006338, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.006417, allocations: 144.5 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006418, allocations: 0 / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.006487, allocations: 27.98 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006489, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006496, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.006499, allocations: 7.938 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.0065, allocations: 0 / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.006901, allocations: 148.3 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.006944, allocations: 23.88 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.006967, allocations: 4 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.006982, allocations: 7.938 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-06/0.006985, allocations: 0 / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.006991, allocations: 4 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.00705, allocations: 147.2 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00705, allocations: 0 / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.007175, allocations: 12 kB / 277.8 MB, free: 12.82 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 8.114e-05/0.007256, allocations: 103.2 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.007353, allocations: 39.61 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007354, allocations: 0 / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.007355, allocations: 0 / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.007621, allocations: 74.62 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002937/0.007915, allocations: 222.5 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.007954, allocations: 76.17 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.649e-05/0.00797, allocations: 4.609 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.007994, allocations: 16.5 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 9.71e-07/0.007995, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.002726/0.01072, allocations: 0.9856 MB / 279.3 MB, free: 11.28 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.8773895979393274]