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.AssignClockToTriggerHold.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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 118.8 kB / 17.84 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, allocations: 201.2 kB / 18.78 MB, free: 4.332 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.68/1.68, allocations: 230.4 MB / 250 MB, free: 9.047 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.002346/0.002346, allocations: 67.83 kB / 367.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4249, allocations: 53.31 MB / 420.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003277/0.4282, allocations: 1.655 MB / 422.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.4293, allocations: 0.5765 MB / 422.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.4294, allocations: 0 / 422.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.687e-05/0.4295, allocations: 11.81 kB / 422.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.4296, allocations: 19.86 kB / 422.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.43, allocations: 67.73 kB / 423 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.4302, allocations: 63.84 kB / 423.1 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.4303, allocations: 16.22 kB / 423.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.4304, allocations: 43.78 kB / 423.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.4305, allocations: 31.84 kB / 423.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.4305, allocations: 4 kB / 423.2 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.4306, allocations: 12 kB / 423.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.4307, allocations: 15.92 kB / 423.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.4307, allocations: 39.73 kB / 423.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.4309, allocations: 87.44 kB / 423.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.431, allocations: 0 / 423.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.431, allocations: 0 / 423.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.431, allocations: 0 / 423.3 MB, free: 5.723 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007633/0.4317, allocations: 402.9 kB / 423.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4318, allocations: 8.031 kB / 423.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.4319, allocations: 24.83 kB / 423.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.4323, allocations: 207.4 kB / 423.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4323, allocations: 8.375 kB / 423.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.4323, allocations: 8.125 kB / 423.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.4326, allocations: 140.1 kB / 424.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4326, allocations: 0 / 424.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4327, allocations: 7.938 kB / 424.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4327, allocations: 4 kB / 424.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.4328, allocations: 31.97 kB / 424.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000591/0.4334, allocations: 301.6 kB / 424.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.4337, allocations: 154.2 kB / 424.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.4338, allocations: 41.72 kB / 424.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.4338, allocations: 0 / 424.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.434, allocations: 71.23 kB / 424.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.434, allocations: 4 kB / 424.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003939/0.4344, allocations: 117.5 kB / 424.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.4345, allocations: 85.11 kB / 424.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4347, allocations: 149.7 kB / 425 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.4347, allocations: 29.7 kB / 425.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.4348, allocations: 88.22 kB / 425.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.4348, allocations: 23.88 kB / 425.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.4348, allocations: 33.67 kB / 425.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.435, allocations: 318.8 kB / 425.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.4351, allocations: 23.98 kB / 425.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.4352, allocations: 57.14 kB / 425.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4353, allocations: 85.02 kB / 425.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4353, allocations: 4 kB / 425.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002368/0.4356, allocations: 113.9 kB / 425.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4356, allocations: 8 kB / 425.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4356, allocations: 64 / 425.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4356, allocations: 8.188 kB / 425.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.4357, allocations: 15.98 kB / 425.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4357, allocations: 7.938 kB / 425.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.4358, allocations: 4 kB / 425.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4358, allocations: 4 kB / 425.8 MB, free: 2.879 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001271/0.4359, allocations: 135.2 kB / 426 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.436, allocations: 53.67 kB / 426 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.436, allocations: 16.3 kB / 426 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.436, allocations: 4 kB / 426 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.436, allocations: 3.938 kB / 426 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4361, allocations: 3.938 kB / 426 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.4365, allocations: 346.5 kB / 426.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4365, allocations: 0 / 426.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.4365, allocations: 11.98 kB / 426.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.4365, allocations: 3.938 kB / 426.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4366, allocations: 4 kB / 426.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4366, allocations: 4 kB / 426.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4366, allocations: 0 / 426.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.4368, allocations: 200.3 kB / 426.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.4369, allocations: 97.08 kB / 426.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.4369, allocations: 7.938 kB / 426.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.437, allocations: 4 kB / 426.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.437, allocations: 11.92 kB / 426.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.437, allocations: 8 kB / 426.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.328e-05/0.4371, allocations: 109.7 kB / 426.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4371, allocations: 0 / 426.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000246/0.4374, allocations: 15.95 kB / 426.9 MB, free: 1.746 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001355/0.4375, allocations: 103.2 kB / 427 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.4377, allocations: 63.97 kB / 427 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4377, allocations: 0 / 427 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.36e-05/0.4378, allocations: 23.92 kB / 427 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4382, allocations: 32.25 kB / 427.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.4386, allocations: 208.2 kB / 427.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.439, allocations: 0.7082 MB / 428 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.439, allocations: 20.59 kB / 428 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4391, allocations: 11.44 kB / 428 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4391, allocations: 0 / 428 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of Templates: time 0.003859/0.4429, allocations: 0.8035 MB / 428.8 MB, free: 15.75 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches