Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.0009061/0.0009061, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009466/0.0009466, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 0.9764/0.9764, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 3.984 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.946e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002023/0.002043, allocations: 1.023 MB / 274.5 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.002341, allocations: 123.5 kB / 274.7 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.00242, allocations: 3.938 kB / 274.7 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.002465, allocations: 3.938 kB / 274.7 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.00259, allocations: 11.88 kB / 274.7 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.002765, allocations: 39.89 kB / 274.7 MB, free: 52 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.002856, allocations: 43.84 kB / 274.8 MB, free: 8 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.002946, allocations: 16.2 kB / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.002992, allocations: 27.88 kB / 274.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.003033, allocations: 11.92 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.003049, allocations: 4 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.003057, allocations: 0 / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.003097, allocations: 15.94 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.00312, allocations: 19.91 kB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.965e-05/0.00321, allocations: 35.84 kB / 274.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.003211, allocations: 0 / 274.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.003213, allocations: 7.984 kB / 274.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.003217, allocations: 0 / 274.9 MB, free: 15.87 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002594/0.003476, allocations: 272.6 kB / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.003505, allocations: 12.03 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.003528, allocations: 8.938 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.003656, allocations: 137.6 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.003663, allocations: 4.375 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.003672, allocations: 4.375 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.003802, allocations: 115.7 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.003808, allocations: 192 / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.003813, allocations: 384 / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.003819, allocations: 8.109 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.003833, allocations: 11.98 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.445e-05/0.003887, allocations: 57.05 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.003964, allocations: 46.55 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.003988, allocations: 20.84 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.003994, allocations: 8 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.004011, allocations: 34.5 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 6.82e-07/0.004012, allocations: 0 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 8.655e-05/0.004098, allocations: 61.83 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.004139, allocations: 63.34 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.004201, allocations: 128.2 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.00421, allocations: 29.7 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.004232, allocations: 84.12 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.00424, allocations: 0 / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.004266, allocations: 17.7 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.004338, allocations: 322.8 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-06/0.004343, allocations: 0 / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/0.004349, allocations: 3.984 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.881e-05/0.004367, allocations: 16.8 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004369, allocations: 3.938 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.631e-05/0.004406, allocations: 33.7 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.004416, allocations: 4 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.00442, allocations: 0 / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.00443, allocations: 7.984 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.682e-05/0.004457, allocations: 96 / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.004459, allocations: 4 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-06/0.004468, allocations: 4 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004472, allocations: 3.938 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.061e-05/0.004523, allocations: 108.7 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.004557, allocations: 57.61 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.004585, allocations: 16.77 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.004587, allocations: 4 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004589, allocations: 0 / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.004591, allocations: 0 / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.521e-05/0.004636, allocations: 81.72 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004637, allocations: 4 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.004668, allocations: 12 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.00467, allocations: 0 / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004675, allocations: 4 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004676, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004676, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.867e-05/0.004715, allocations: 69 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.004738, allocations: 11.94 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.004752, allocations: 7.984 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.00476, allocations: 0 / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.004762, allocations: 0 / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.004765, allocations: 4 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.956e-05/0.004784, allocations: 27.66 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004784, allocations: 0 / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.889e-05/0.004873, allocations: 4 kB / 276.8 MB, free: 13.75 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 5.78e-05/0.004931, allocations: 76.42 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.307e-05/0.004984, allocations: 28.78 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.004986, allocations: 0 / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.004987, allocations: 0 / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.005132, allocations: 39.17 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.005337, allocations: 160.5 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.005371, allocations: 63.34 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.005382, allocations: 4 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.005426, allocations: 59.36 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.005426, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Templates: time 0.001972/0.007398, allocations: 0.6756 MB / 277.9 MB, free: 12.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.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.573909887112677]