Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.579/1.579, allocations: 230.4 MB / 250 MB, free: 8.98 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 67.84 kB / 367.4 MB, free: 7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 53.31 MB / 420.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002945/0.3622, allocations: 0.9498 MB / 421.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000482/0.3627, allocations: 111.7 kB / 421.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.3629, allocations: 3.938 kB / 421.7 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.363, allocations: 7.922 kB / 421.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.3632, allocations: 11.94 kB / 421.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.3636, allocations: 38.64 kB / 421.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3638, allocations: 39.86 kB / 421.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.364, allocations: 20.17 kB / 421.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.3641, allocations: 15.92 kB / 421.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.3642, allocations: 19.88 kB / 421.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.3642, allocations: 11.92 kB / 421.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.3642, allocations: 4 kB / 421.9 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.3643, allocations: 15.92 kB / 421.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.3644, allocations: 31.73 kB / 421.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3646, allocations: 55.55 kB / 422 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3647, allocations: 4 kB / 422 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3647, allocations: 0 / 422 MB, free: 7.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3647, allocations: 0 / 422 MB, free: 7.004 MB / 334.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.0007435/0.3654, allocations: 371.2 kB / 422.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3655, allocations: 12.03 kB / 422.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.3655, allocations: 16.84 kB / 422.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3659, allocations: 188.2 kB / 422.6 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3659, allocations: 8.375 kB / 422.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.3659, allocations: 4.375 kB / 422.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3663, allocations: 135.8 kB / 422.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3663, allocations: 3.938 kB / 422.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3663, allocations: 0 / 422.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3663, allocations: 0 / 422.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.3664, allocations: 12 kB / 422.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.3666, allocations: 181.6 kB / 422.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3668, allocations: 62.66 kB / 423 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.356e-05/0.3668, allocations: 36.89 kB / 423 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3668, allocations: 0 / 423 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.3669, allocations: 38.56 kB / 423.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.3669, allocations: 0 / 423.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002516/0.3671, allocations: 93.66 kB / 423.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3672, allocations: 59.34 kB / 423.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3674, allocations: 137.8 kB / 423.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3674, allocations: 29.7 kB / 423.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.3675, allocations: 84.14 kB / 423.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.3675, allocations: 8 kB / 423.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.3675, allocations: 17.72 kB / 423.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3677, allocations: 322.8 kB / 423.8 MB, free: 5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.3678, allocations: 4 kB / 423.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3679, allocations: 66.8 kB / 423.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.368, allocations: 70.81 kB / 423.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.368, allocations: 192 / 423.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001618/0.3682, allocations: 89.44 kB / 424 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.3682, allocations: 15.88 kB / 424 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3682, allocations: 256 / 424 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.3683, allocations: 11.94 kB / 424 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3684, allocations: 15.94 kB / 424.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3684, allocations: 7.984 kB / 424.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.3684, allocations: 7.953 kB / 424.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3684, allocations: 4 kB / 424.1 MB, free: 4.656 MB / 334.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.0001782/0.3686, allocations: 117.8 kB / 424.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3687, allocations: 77.52 kB / 424.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.3688, allocations: 12.72 kB / 424.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3688, allocations: 4 kB / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3688, allocations: 0 / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3688, allocations: 3.984 kB / 424.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.369, allocations: 169.7 kB / 424.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.369, allocations: 0 / 424.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.236e-05/0.3691, allocations: 15.98 kB / 424.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3691, allocations: 7.938 kB / 424.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3691, allocations: 0 / 424.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3691, allocations: 0 / 424.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3691, allocations: 0 / 424.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3693, allocations: 109.4 kB / 424.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3694, allocations: 96.92 kB / 424.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3694, allocations: 8 kB / 424.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.3694, allocations: 0 / 424.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-06/0.3694, allocations: 0 / 424.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3694, allocations: 0 / 424.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3696, allocations: 110.1 kB / 424.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3696, allocations: 0 / 424.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.3698, allocations: 8 kB / 424.8 MB, free: 3.828 MB / 334.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.000184/0.37, allocations: 103.2 kB / 424.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.3702, allocations: 43.98 kB / 424.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3702, allocations: 0 / 424.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.3702, allocations: 0 / 424.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3706, allocations: 47.94 kB / 425 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3711, allocations: 158.1 kB / 425.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.3715, allocations: 0.704 MB / 425.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.3716, allocations: 11.94 kB / 425.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3716, allocations: 11.38 kB / 425.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3716, allocations: 7.938 kB / 425.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Templates: time 0.004281/0.3759, allocations: 0.6274 MB / 426.5 MB, free: 2.062 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches