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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008927, allocations: 97.23 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.338e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09669, allocations: 50.42 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3833, allocations: 76.46 MB / 470.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.3836, allocations: 71.95 kB / 470.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002932/0.3865, allocations: 1.272 MB / 472.1 MB, free: 9.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3865, allocations: 4 kB / 472.1 MB, free: 9.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.3866, allocations: 3.938 kB / 472.1 MB, free: 9.742 MB / 346.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.0002663/0.3868, allocations: 351 kB / 472.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3869, allocations: 12.03 kB / 472.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.3869, allocations: 11.86 kB / 472.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3871, allocations: 184.5 kB / 472.6 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3871, allocations: 4 kB / 472.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3871, allocations: 0 / 472.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.3874, allocations: 131.5 kB / 472.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3874, allocations: 0 / 472.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3874, allocations: 4 kB / 472.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3874, allocations: 7.953 kB / 472.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.3874, allocations: 12 kB / 472.8 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.3876, allocations: 177.5 kB / 472.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3877, allocations: 70.7 kB / 473 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.3878, allocations: 40.84 kB / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.3878, allocations: 0 / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3878, allocations: 30.72 kB / 473.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.3878, allocations: 0 / 473.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001394/0.3879, allocations: 77.58 kB / 473.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.388, allocations: 63.3 kB / 473.2 MB, free: 8.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.3881, allocations: 130.4 kB / 473.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3881, allocations: 25.7 kB / 473.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.3882, allocations: 88.08 kB / 473.5 MB, free: 8.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.3882, allocations: 3.984 kB / 473.5 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.3882, allocations: 8 kB / 473.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.3883, allocations: 310.8 kB / 473.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.3883, allocations: 8 kB / 473.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.3883, allocations: 62.86 kB / 473.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.3884, allocations: 19.94 kB / 473.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3884, allocations: 0 / 473.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001088/0.3885, allocations: 89.45 kB / 473.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.3885, allocations: 4 kB / 473.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3885, allocations: 4 kB / 474 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3885, allocations: 256 / 474 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.3886, allocations: 23.94 kB / 474 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3886, allocations: 0 / 474 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.3887, allocations: 11.95 kB / 474 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.3887, allocations: 4.188 kB / 474 MB, free: 7.574 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.3887, allocations: 114.1 kB / 474.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.3888, allocations: 69.55 kB / 474.2 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.3889, allocations: 16.61 kB / 474.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3889, allocations: 0 / 474.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3889, allocations: 0 / 474.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3889, allocations: 4 kB / 474.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.012e-05/0.389, allocations: 173.5 kB / 474.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.389, allocations: 0.75 kB / 474.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.3891, allocations: 15.98 kB / 474.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3891, allocations: 0 / 474.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3891, allocations: 4 kB / 474.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3891, allocations: 8 kB / 474.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3891, allocations: 0 / 474.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.3892, allocations: 108.9 kB / 474.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3893, allocations: 96.98 kB / 474.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3893, allocations: 0 / 474.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.3893, allocations: 4 kB / 474.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-06/0.3893, allocations: 0 / 474.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3893, allocations: 0 / 474.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.11e-05/0.3894, allocations: 104.5 kB / 474.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3894, allocations: 3.938 kB / 474.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.3896, allocations: 12 kB / 474.7 MB, free: 6.758 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.741e-05/0.3897, allocations: 103.2 kB / 474.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.3898, allocations: 43.88 kB / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3898, allocations: 0 / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3898, allocations: 0 / 474.9 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.39, allocations: 40.73 kB / 474.9 MB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.3902, allocations: 105.5 kB / 475 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.3904, allocations: 0.7087 MB / 475.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.3904, allocations: 11.92 kB / 475.7 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.3905, allocations: 7.438 kB / 475.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3905, allocations: 0 / 475.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of Templates: time 0.002098/0.3926, allocations: 0.5483 MB / 476.3 MB, free: 5.141 MB / 346.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches