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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 108.7 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009847/0.0009848, allocations: 49.27 kB / 300 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0916/0.0926, allocations: 49.44 MB / 349.4 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00266/0.09531, allocations: 1.012 MB / 350.4 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003278/0.09566, allocations: 119.6 kB / 350.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.09578, allocations: 3.938 kB / 350.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.09584, allocations: 3.938 kB / 350.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.09603, allocations: 11.92 kB / 350.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.09632, allocations: 31.91 kB / 350.6 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.09643, allocations: 35.92 kB / 350.6 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.09656, allocations: 28.16 kB / 350.6 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.0966, allocations: 11.94 kB / 350.6 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.09665, allocations: 19.86 kB / 350.7 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.09668, allocations: 4 kB / 350.7 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.0967, allocations: 0 / 350.7 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.09677, allocations: 19.92 kB / 350.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.09682, allocations: 19.81 kB / 350.7 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.09694, allocations: 55.73 kB / 350.8 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.09695, allocations: 8 kB / 350.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.09696, allocations: 0 / 350.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.09697, allocations: 0 / 350.8 MB, free: 3.258 MB / 286.1 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.0005026/0.09748, allocations: 373.9 kB / 351.1 MB, free: 2.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.09753, allocations: 12.03 kB / 351.1 MB, free: 2.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.09758, allocations: 8.844 kB / 351.2 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.0978, allocations: 194.6 kB / 351.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.09782, allocations: 4.375 kB / 351.4 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.09783, allocations: 8.375 kB / 351.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.09815, allocations: 131.8 kB / 351.5 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.09817, allocations: 3.938 kB / 351.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.09818, allocations: 0 / 351.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.09819, allocations: 0 / 351.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.09825, allocations: 19.92 kB / 351.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.09845, allocations: 173.6 kB / 351.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.0986, allocations: 70.64 kB / 351.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.09867, allocations: 44.88 kB / 351.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.09869, allocations: 0 / 351.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.09873, allocations: 34.56 kB / 351.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.09874, allocations: 3.938 kB / 351.8 MB, free: 2.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001996/0.09896, allocations: 89.53 kB / 351.9 MB, free: 1.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.09903, allocations: 67.3 kB / 352 MB, free: 1.863 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.09916, allocations: 129.8 kB / 352.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.09918, allocations: 29.7 kB / 352.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.09922, allocations: 84.14 kB / 352.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.09925, allocations: 4 kB / 352.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.0993, allocations: 21.7 kB / 352.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.09942, allocations: 322.8 kB / 352.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.09945, allocations: 11.98 kB / 352.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.0995, allocations: 54.81 kB / 352.6 MB, free: 1.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.0996, allocations: 78.73 kB / 352.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.09961, allocations: 4 kB / 352.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001286/0.09975, allocations: 89.47 kB / 352.8 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.09977, allocations: 11.94 kB / 352.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.09978, allocations: 0 / 352.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.0998, allocations: 4 kB / 352.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.09989, allocations: 19.92 kB / 352.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.0999, allocations: 4 kB / 352.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.09994, allocations: 0 / 352.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.09995, allocations: 7.938 kB / 352.8 MB, free: 0.9141 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 9 * 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.202e-05/0.1001, allocations: 122.1 kB / 353 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/0.1001, allocations: 85.61 kB / 353 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.1002, allocations: 16.7 kB / 353.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1002, allocations: 0 / 353.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1002, allocations: 0 / 353.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1002, allocations: 0 / 353.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1003, allocations: 177.5 kB / 353.2 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1004, allocations: 0 / 353.2 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.1004, allocations: 15.97 kB / 353.3 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1004, allocations: 7.938 kB / 353.3 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1004, allocations: 4 kB / 353.3 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1004, allocations: 192 / 353.3 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1005, allocations: 0 / 353.3 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.1006, allocations: 104.9 kB / 353.4 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1007, allocations: 96.94 kB / 353.5 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1007, allocations: 4 kB / 353.5 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.889e-05/0.1007, allocations: 0 / 353.5 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-06/0.1007, allocations: 0 / 353.5 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1008, allocations: 4 kB / 353.5 MB, free: 188 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.12e-05/0.1008, allocations: 109.9 kB / 353.6 MB, free: 80 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1009, allocations: 0 / 353.6 MB, free: 80 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1011, allocations: 12 kB / 353.6 MB, free: 68 kB / 286.1 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.0001237/0.1012, allocations: 99.19 kB / 353.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1013, allocations: 47.86 kB / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1013, allocations: 0.5 kB / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1014, allocations: 4 kB / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1017, allocations: 39.95 kB / 353.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.1021, allocations: 191.3 kB / 354 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.1024, allocations: 0.7004 MB / 354.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.804e-05/0.1024, allocations: 4 kB / 354.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1024, allocations: 11.44 kB / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1024, allocations: 0 / 354.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Templates: time 0.002918/0.1054, allocations: 0.5816 MB / 355.3 MB, free: 14.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches