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.00111/0.00111, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00107/0.00107, allocations: 161 kB / 24.55 MB, free: 20 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 1.122/1.122, allocations: 177.2 MB / 205 MB, free: 5.613 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 2.695e-06/2.695e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.045e-05/4.314e-05, allocations: 10.31 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003741/0.003784, allocations: 0.9795 MB / 274 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.004321, allocations: 119.5 kB / 274.1 MB, free: 444 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.00446, allocations: 4 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.481e-05/0.004545, allocations: 15.86 kB / 274.1 MB, free: 424 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.004757, allocations: 11.88 kB / 274.1 MB, free: 412 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.005108, allocations: 31.95 kB / 274.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.005259, allocations: 39.86 kB / 274.2 MB, free: 340 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.005409, allocations: 24.09 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.005493, allocations: 23.92 kB / 274.2 MB, free: 288 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.005553, allocations: 11.98 kB / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.00558, allocations: 0 / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.005595, allocations: 7.938 kB / 274.3 MB, free: 268 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.005675, allocations: 19.91 kB / 274.3 MB, free: 248 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.005723, allocations: 15.94 kB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.005899, allocations: 35.83 kB / 274.3 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.005904, allocations: 8 kB / 274.3 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005906, allocations: 0 / 274.3 MB, free: 188 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.005913, allocations: 0 / 274.3 MB, free: 188 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000569/0.006482, allocations: 392.4 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.006546, allocations: 15.97 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.006629, allocations: 16.84 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.006906, allocations: 144.4 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.006922, allocations: 384 / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.006947, allocations: 8.375 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.007343, allocations: 109.5 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.007361, allocations: 192 / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.00738, allocations: 4.375 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.007397, allocations: 4.125 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.747e-05/0.007444, allocations: 11.98 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.007673, allocations: 128.6 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.00789, allocations: 71.11 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.007971, allocations: 35.72 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.007983, allocations: 0 / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.008021, allocations: 37.33 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.008023, allocations: 0 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002776/0.0083, allocations: 77.58 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.008375, allocations: 59.41 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.008526, allocations: 195.5 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.00854, allocations: 25.7 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.008608, allocations: 134.9 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.008624, allocations: 4 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.008663, allocations: 23.38 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.008843, allocations: 496.1 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.008862, allocations: 0 / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.008872, allocations: 4 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.008911, allocations: 19.62 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.008916, allocations: 4 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.864e-05/0.008995, allocations: 37.66 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.009015, allocations: 4 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.009022, allocations: 4.094 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.009047, allocations: 4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.009108, allocations: 3.984 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.009118, allocations: 3.938 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.009135, allocations: 4 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.009141, allocations: 0 / 276.4 MB, free: 13.93 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 9.632e-05/0.009237, allocations: 156.6 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.009328, allocations: 73.72 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.009385, allocations: 12.78 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009389, allocations: 0 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.009392, allocations: 4 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.009397, allocations: 3.938 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.454e-05/0.009492, allocations: 132.6 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.009495, allocations: 3.984 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.009561, allocations: 8 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.009566, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.009573, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009576, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.009578, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.009707, allocations: 112.2 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.009761, allocations: 23.88 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.009787, allocations: 4 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.009804, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-06/0.009808, allocations: 0 / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.009818, allocations: 8 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.00989, allocations: 146.1 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00989, allocations: 0 / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.01007, allocations: 7.938 kB / 277.1 MB, free: 13.18 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 0.0001348/0.0102, allocations: 98.06 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01032, allocations: 23.69 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01032, allocations: 8 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.01032, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.01067, allocations: 31.02 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.01101, allocations: 163.6 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.01107, allocations: 67.34 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.01109, allocations: 7.922 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.01113, allocations: 12.5 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.393e-06/0.01113, allocations: 0 / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.002768/0.0139, allocations: 0.632 MB / 278.1 MB, free: 12.1 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 -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: 3.1761264400556684]