Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 110.8 kB / 17.06 MB, free: 6.02 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.001933/0.001933, allocations: 189.4 kB / 18 MB, free: 5.102 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.549/1.549, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 51.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4276, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.00325/0.4309, allocations: 1.632 MB / 401.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.432, allocations: 0.5085 MB / 402.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4321, allocations: 4 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.584e-05/0.4322, allocations: 3.938 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.4324, allocations: 15.86 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.4328, allocations: 55.77 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.4329, allocations: 63.78 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4331, allocations: 40.12 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.4332, allocations: 31.8 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.4333, allocations: 31.84 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.4333, allocations: 4 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.4333, allocations: 8 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.4334, allocations: 23.91 kB / 402.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.4335, allocations: 31.75 kB / 402.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.4337, allocations: 78.66 kB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4337, allocations: 0 / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4337, allocations: 0 / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4337, allocations: 4 kB / 402.8 MB, free: 6.281 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006449/0.4344, allocations: 398.9 kB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4344, allocations: 8.031 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.4345, allocations: 42.73 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.4345, allocations: 8.891 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.4348, allocations: 204.1 kB / 403.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4348, allocations: 4.375 kB / 403.4 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.4349, allocations: 12.38 kB / 403.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.4352, allocations: 137.1 kB / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4353, allocations: 0 / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4353, allocations: 4 kB / 403.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4353, allocations: 4 kB / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.4354, allocations: 35.91 kB / 403.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.4359, allocations: 309.6 kB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.4362, allocations: 150.2 kB / 404.1 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.4363, allocations: 41.8 kB / 404.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4364, allocations: 4 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.4365, allocations: 67.33 kB / 404.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.4365, allocations: 0 / 404.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003346/0.4369, allocations: 109.6 kB / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.437, allocations: 93.05 kB / 404.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.4371, allocations: 148.7 kB / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4371, allocations: 25.7 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.4372, allocations: 96.08 kB / 404.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.4373, allocations: 19.95 kB / 404.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.4373, allocations: 25.72 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4375, allocations: 322.8 kB / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.4376, allocations: 27.98 kB / 405 MB, free: 3.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.4377, allocations: 57.14 kB / 405.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4379, allocations: 85.08 kB / 405.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4379, allocations: 7.875 kB / 405.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002308/0.4381, allocations: 121.7 kB / 405.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4381, allocations: 4 kB / 405.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4381, allocations: 4 kB / 405.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4382, allocations: 4.156 kB / 405.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.4383, allocations: 15.98 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4383, allocations: 0 / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.4383, allocations: 8 kB / 405.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4384, allocations: 4 kB / 405.3 MB, free: 3.406 MB / 318.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.0001266/0.4385, allocations: 139.2 kB / 405.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.4386, allocations: 53.61 kB / 405.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.4386, allocations: 16.3 kB / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.4387, allocations: 0 / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4387, allocations: 4 kB / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4387, allocations: 0 / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.4391, allocations: 346.4 kB / 405.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4391, allocations: 0 / 405.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.4392, allocations: 15.98 kB / 405.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4392, allocations: 0 / 405.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4392, allocations: 4 kB / 405.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4393, allocations: 3.938 kB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4393, allocations: 4 kB / 405.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4395, allocations: 196.3 kB / 406.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.4396, allocations: 101 kB / 406.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4397, allocations: 4 kB / 406.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4397, allocations: 7.938 kB / 406.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.4398, allocations: 3.984 kB / 406.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4398, allocations: 8 kB / 406.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.597e-05/0.4399, allocations: 107.2 kB / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.4399, allocations: 0 / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.4402, allocations: 19.94 kB / 406.3 MB, free: 2.281 MB / 318.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.0008187/0.441, allocations: 0.7685 MB / 407.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.4413, allocations: 67.89 kB / 407.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4413, allocations: 0 / 407.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.4414, allocations: 20.12 kB / 407.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.4418, allocations: 36.08 kB / 407.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.4439, allocations: 1.538 MB / 408.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.4444, allocations: 0.7041 MB / 409.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.367e-05/0.4445, allocations: 8.844 kB / 409.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.4445, allocations: 19.44 kB / 409.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4445, allocations: 0 / 409.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.4705, allocations: 2.019 MB / 411.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.004, allocations: 10.61 kB / 411.5 MB, free: 13.07 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches