Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001407/0.001407, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4213, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.004259/0.4256, allocations: 1.647 MB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.4273, allocations: 0.5726 MB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.4276, allocations: 7.938 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.83e-05/0.4277, allocations: 3.938 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.428, allocations: 15.88 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.4286, allocations: 67.73 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.4288, allocations: 63.83 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.429, allocations: 28.2 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.4292, allocations: 31.86 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.4293, allocations: 35.84 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.4293, allocations: 4 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.4294, allocations: 8 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.039e-05/0.4294, allocations: 23.92 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.4295, allocations: 39.73 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4298, allocations: 83.58 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4298, allocations: 0 / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4298, allocations: 3.938 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4299, allocations: 0 / 411.4 MB, free: 14.9 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.0007746/0.4306, allocations: 404.7 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4307, allocations: 12.03 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.4307, allocations: 34.75 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.431, allocations: 20.83 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.4313, allocations: 208 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4314, allocations: 4.375 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.4314, allocations: 11.94 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.4318, allocations: 133 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4318, allocations: 0 / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.4318, allocations: 8 kB / 412.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4318, allocations: 0 / 412.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.4319, allocations: 27.97 kB / 412.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.4325, allocations: 321.4 kB / 412.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.4328, allocations: 154.2 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.4329, allocations: 41.8 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4329, allocations: 0 / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.4331, allocations: 63.39 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.4331, allocations: 0 / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003224/0.4334, allocations: 121.5 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.4335, allocations: 81.11 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4337, allocations: 153.7 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.4338, allocations: 33.7 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.4339, allocations: 88.05 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.4339, allocations: 19.83 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.434, allocations: 29.62 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4341, allocations: 322.8 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.4342, allocations: 23.92 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.4343, allocations: 61.14 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.4345, allocations: 85.08 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4345, allocations: 0 / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002424/0.4347, allocations: 113.6 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4348, allocations: 4 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4348, allocations: 0 / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.4348, allocations: 4 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4349, allocations: 28 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.435, allocations: 8 kB / 414 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.435, allocations: 4 kB / 414 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.435, allocations: 4 kB / 414 MB, free: 12 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.0001538/0.4352, allocations: 129.8 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.4353, allocations: 53.55 kB / 414.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.4353, allocations: 16.23 kB / 414.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4354, allocations: 11.88 kB / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4354, allocations: 0 / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4354, allocations: 0 / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.4358, allocations: 350.5 kB / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4358, allocations: 384 / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.4359, allocations: 19.86 kB / 414.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4359, allocations: 0 / 414.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4359, allocations: 4 kB / 414.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.4359, allocations: 4 kB / 414.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4359, allocations: 0 / 414.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.4362, allocations: 204.2 kB / 414.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.4363, allocations: 104.9 kB / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.4363, allocations: 0 / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.4364, allocations: 4 kB / 414.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.4364, allocations: 3.984 kB / 414.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.4365, allocations: 8 kB / 414.9 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.4365, allocations: 111.9 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4366, allocations: 8 kB / 415 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.4368, allocations: 8 kB / 415 MB, free: 10.87 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.0006605/0.4375, allocations: 0.7678 MB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.4377, allocations: 71.91 kB / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4378, allocations: 0 / 415.8 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.425e-05/0.4378, allocations: 16 kB / 415.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.4382, allocations: 47.7 kB / 415.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4399, allocations: 1.547 MB / 417.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4402, allocations: 0.7041 MB / 418.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.879e-05/0.4403, allocations: 8.422 kB / 418.1 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.4403, allocations: 27.42 kB / 418.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4404, allocations: 0 / 418.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.4601, allocations: 2.071 MB / 420.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.613, allocations: 14.61 kB / 420.2 MB, free: 5.57 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches