Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001054/0.001054, allocations: 72.08 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.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.001086/0.001086, allocations: 139.6 kB / 24.97 MB, free: 8.77 MB / 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.067/1.067, allocations: 173.3 MB / 201.5 MB, free: 9.324 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.247e-05, allocations: 2.312 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001669/0.001691, allocations: 0.9768 MB / 269.1 MB, free: 5.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.002004, allocations: 123.5 kB / 269.2 MB, free: 5.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.002085, allocations: 7.938 kB / 269.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.002138, allocations: 3.938 kB / 269.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.002269, allocations: 15.86 kB / 269.2 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.002464, allocations: 35.91 kB / 269.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.002558, allocations: 43.84 kB / 269.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.756e-05/0.002656, allocations: 16.11 kB / 269.3 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.002701, allocations: 23.97 kB / 269.3 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.002739, allocations: 11.92 kB / 269.3 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.002763, allocations: 4 kB / 269.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.002774, allocations: 4 kB / 269.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.002825, allocations: 11.94 kB / 269.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.002861, allocations: 19.91 kB / 269.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.00298, allocations: 43.83 kB / 269.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002983, allocations: 0 / 269.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002984, allocations: 0 / 269.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.002989, allocations: 0 / 269.4 MB, free: 5.355 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000413/0.003402, allocations: 400.4 kB / 269.8 MB, free: 4.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.003442, allocations: 8.922 kB / 269.8 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.00349, allocations: 12.89 kB / 269.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.00368, allocations: 147.3 kB / 270 MB, free: 4.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.00369, allocations: 8.312 kB / 270 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.003702, allocations: 12.38 kB / 270 MB, free: 4.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.003902, allocations: 113.5 kB / 270.1 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.003909, allocations: 192 / 270.1 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003917, allocations: 4.375 kB / 270.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.003926, allocations: 4.125 kB / 270.1 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.00395, allocations: 11.94 kB / 270.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.00406, allocations: 124.6 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.004186, allocations: 67.23 kB / 270.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.004228, allocations: 27.67 kB / 270.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.004236, allocations: 4 kB / 270.3 MB, free: 4.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.004255, allocations: 37.33 kB / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.004256, allocations: 0 / 270.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.000159/0.004415, allocations: 81.73 kB / 270.5 MB, free: 4.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.00446, allocations: 59.41 kB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.004551, allocations: 193.8 kB / 270.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.004559, allocations: 25.7 kB / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.004599, allocations: 130.9 kB / 270.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.004609, allocations: 4 kB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.004638, allocations: 27.3 kB / 270.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.004745, allocations: 0.4884 MB / 271.4 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.004756, allocations: 3.938 kB / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-06/0.004762, allocations: 4 kB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.004785, allocations: 7.688 kB / 271.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004786, allocations: 0 / 271.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.944e-05/0.004836, allocations: 49.64 kB / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.004848, allocations: 4 kB / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.004853, allocations: 0 / 271.4 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.004864, allocations: 4.094 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.004906, allocations: 4 kB / 271.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.004911, allocations: 3.938 kB / 271.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-06/0.004921, allocations: 0 / 271.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.004925, allocations: 3.938 kB / 271.5 MB, free: 3.102 MB / 250.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 7.387e-05/0.004999, allocations: 156.6 kB / 271.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.005054, allocations: 65.64 kB / 271.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.005085, allocations: 16.78 kB / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005087, allocations: 0 / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005092, allocations: 3.984 kB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.005097, allocations: 7.938 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.274e-05/0.005159, allocations: 128.6 kB / 271.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005161, allocations: 0 / 271.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.005206, allocations: 12 kB / 271.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005208, allocations: 0 / 271.8 MB, free: 2.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.005215, allocations: 3.984 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005217, allocations: 4 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.005218, allocations: 3.938 kB / 271.9 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.106e-05/0.005299, allocations: 116.7 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.005329, allocations: 11.94 kB / 272 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.005352, allocations: 8 kB / 272 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-06/0.005362, allocations: 4 kB / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-06/0.005364, allocations: 0 / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.005368, allocations: 0 / 272 MB, free: 2.492 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.31e-05/0.005421, allocations: 141.7 kB / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.005421, allocations: 0 / 272.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.005546, allocations: 15.94 kB / 272.1 MB, free: 2.34 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: 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 8.464e-05/0.00563, allocations: 95.19 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.005727, allocations: 27.61 kB / 272.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.005729, allocations: 4.062 kB / 272.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.00573, allocations: 4 kB / 272.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.006012, allocations: 41.64 kB / 272.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.006295, allocations: 163.4 kB / 272.5 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.006339, allocations: 67.28 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.838e-05/0.006358, allocations: 3.938 kB / 272.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.006391, allocations: 12.5 kB / 272.6 MB, free: 1.871 MB / 250.7 MB Notification: Performance of SimCode: time 1.653e-06/0.006393, allocations: 0 / 272.6 MB, free: 1.871 MB / 250.7 MB Notification: Performance of Templates: time 0.002375/0.008768, allocations: 0.6329 MB / 273.2 MB, free: 1.25 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8059092280454934]