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.001543/0.001542, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001594/0.001595, allocations: 195 kB / 18 MB, free: 4.965 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.466/1.466, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 35.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002661/0.3685, allocations: 0.9607 MB / 401.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003881/0.3689, allocations: 115.6 kB / 401.8 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.369, allocations: 0 / 401.8 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.3691, allocations: 15.81 kB / 401.8 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.3693, allocations: 3.938 kB / 401.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3695, allocations: 43.89 kB / 401.9 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3697, allocations: 43.84 kB / 401.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3698, allocations: 12.19 kB / 401.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.3699, allocations: 19.92 kB / 401.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.3699, allocations: 27.84 kB / 402 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.37, allocations: 4 kB / 402 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.37, allocations: 4 kB / 402 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.3701, allocations: 11.94 kB / 402 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.3701, allocations: 27.8 kB / 402 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.3703, allocations: 55.53 kB / 402.1 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3703, allocations: 4 kB / 402.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3703, allocations: 0 / 402.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3703, allocations: 0 / 402.1 MB, free: 7.547 MB / 318.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.0005071/0.3708, allocations: 383.1 kB / 402.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3709, allocations: 11.89 kB / 402.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3709, allocations: 12.89 kB / 402.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.3712, allocations: 192.2 kB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3712, allocations: 8.375 kB / 402.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3712, allocations: 4.375 kB / 402.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3715, allocations: 135.7 kB / 402.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3715, allocations: 3.938 kB / 402.8 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3715, allocations: 4 kB / 402.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3716, allocations: 0 / 402.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.3716, allocations: 15.98 kB / 402.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3718, allocations: 169.7 kB / 403 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3719, allocations: 70.66 kB / 403.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.372, allocations: 32.89 kB / 403.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.372, allocations: 4 kB / 403.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3721, allocations: 34.56 kB / 403.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.3721, allocations: 0 / 403.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002274/0.3723, allocations: 93.72 kB / 403.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3724, allocations: 63.27 kB / 403.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3725, allocations: 140.3 kB / 403.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3725, allocations: 25.7 kB / 403.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.3726, allocations: 84.14 kB / 403.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3726, allocations: 11.95 kB / 403.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3727, allocations: 21.7 kB / 403.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3728, allocations: 318.8 kB / 403.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.3728, allocations: 7.984 kB / 403.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.3729, allocations: 66.81 kB / 403.9 MB, free: 5.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.288e-05/0.3729, allocations: 74.73 kB / 404 MB, free: 5.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.373, allocations: 0 / 404 MB, free: 5.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001191/0.3731, allocations: 85.45 kB / 404.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3731, allocations: 16.19 kB / 404.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3731, allocations: 0 / 404.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3731, allocations: 4 kB / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.3732, allocations: 15.98 kB / 404.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3732, allocations: 4.312 kB / 404.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.3733, allocations: 8 kB / 404.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3733, allocations: 4 kB / 404.1 MB, free: 5.191 MB / 318.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 0.0001002/0.3734, allocations: 117.8 kB / 404.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.139e-05/0.3735, allocations: 77.56 kB / 404.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.3735, allocations: 24.64 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3735, allocations: 3.984 kB / 404.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.3736, allocations: 4 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3736, allocations: 0 / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.3737, allocations: 169.6 kB / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3737, allocations: 0 / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.3737, allocations: 23.92 kB / 404.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3738, allocations: 3.938 kB / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.3738, allocations: 0 / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3738, allocations: 0 / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3738, allocations: 4 kB / 404.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.374, allocations: 105.1 kB / 404.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/0.3741, allocations: 100.9 kB / 404.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3741, allocations: 4 kB / 404.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.3741, allocations: 0 / 404.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.3741, allocations: 0 / 404.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3741, allocations: 4 kB / 404.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.3742, allocations: 109.9 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3742, allocations: 4 kB / 404.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000199/0.3744, allocations: 4 kB / 404.9 MB, free: 4.344 MB / 318.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.0001254/0.3746, allocations: 111.9 kB / 405 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.3747, allocations: 39.92 kB / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3747, allocations: 0 / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3747, allocations: 0 / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.375, allocations: 47.84 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3753, allocations: 165.4 kB / 405.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3756, allocations: 0.7002 MB / 405.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.729e-05/0.3757, allocations: 0 / 405.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.3757, allocations: 11.44 kB / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3757, allocations: 0 / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of Templates: time 0.002891/0.3786, allocations: 0.6177 MB / 406.6 MB, free: 2.598 MB / 318.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