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.00177/0.00177, allocations: 111.1 kB / 17.06 MB, free: 6.113 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.002255/0.002255, allocations: 199 kB / 18 MB, free: 5.188 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.78/1.78, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 51.86 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4188, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.004407/0.4232, allocations: 1.637 MB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4246, allocations: 0.504 MB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.4248, allocations: 11.88 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.19e-05/0.4249, allocations: 3.938 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.4251, allocations: 11.86 kB / 402.4 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.4256, allocations: 59.83 kB / 402.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.4258, allocations: 59.83 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.426, allocations: 28.2 kB / 402.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4261, allocations: 27.86 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.4262, allocations: 31.84 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.4263, allocations: 4 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.4263, allocations: 11.94 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.4264, allocations: 23.91 kB / 402.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.4265, allocations: 35.75 kB / 402.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.4267, allocations: 71.7 kB / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4267, allocations: 4 kB / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4268, allocations: 0 / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4268, allocations: 0 / 402.8 MB, free: 6.277 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.000766/0.4275, allocations: 400.7 kB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.4276, allocations: 8.031 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.4277, allocations: 42.73 kB / 403.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.4277, allocations: 12.84 kB / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.4281, allocations: 200 kB / 403.4 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4282, allocations: 8.375 kB / 403.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.4282, allocations: 4.375 kB / 403.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.4287, allocations: 145.1 kB / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4287, allocations: 0 / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4287, allocations: 0 / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.4287, allocations: 4 kB / 403.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4289, allocations: 35.91 kB / 403.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.4296, allocations: 305.7 kB / 403.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.43, allocations: 154.2 kB / 404.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4302, allocations: 37.8 kB / 404.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.4302, allocations: 8 kB / 404.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.4304, allocations: 67.3 kB / 404.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.4305, allocations: 0 / 404.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000487/0.431, allocations: 113.5 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.4311, allocations: 81.11 kB / 404.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.4313, allocations: 156.5 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.4313, allocations: 29.7 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.4314, allocations: 88.14 kB / 404.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.4315, allocations: 27.73 kB / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.4316, allocations: 25.72 kB / 404.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4318, allocations: 326.8 kB / 405 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4319, allocations: 23.92 kB / 405 MB, free: 3.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.4321, allocations: 61.14 kB / 405.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.4323, allocations: 85.08 kB / 405.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4323, allocations: 0 / 405.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003358/0.4327, allocations: 117.4 kB / 405.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4327, allocations: 4 kB / 405.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4328, allocations: 4 kB / 405.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4328, allocations: 0 / 405.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4329, allocations: 20.23 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4329, allocations: 160 / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.433, allocations: 12 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4331, allocations: 4 kB / 405.3 MB, free: 3.402 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.0001528/0.4332, allocations: 139.4 kB / 405.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.4333, allocations: 53.52 kB / 405.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.4334, allocations: 16.3 kB / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4334, allocations: 0 / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4334, allocations: 0 / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4335, allocations: 0 / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.4341, allocations: 350.5 kB / 405.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4341, allocations: 0 / 405.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.4342, allocations: 11.98 kB / 405.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4342, allocations: 0 / 405.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4342, allocations: 4 kB / 405.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.4343, allocations: 3.938 kB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4343, allocations: 0 / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.4346, allocations: 204.2 kB / 406.1 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4348, allocations: 100.9 kB / 406.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.4348, allocations: 0 / 406.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.4349, allocations: 7.938 kB / 406.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.435, allocations: 3.984 kB / 406.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.435, allocations: 8 kB / 406.2 MB, free: 2.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.4352, allocations: 107.2 kB / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4352, allocations: 3.938 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.4357, allocations: 20 kB / 406.3 MB, free: 2.277 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.001017/0.4367, allocations: 0.7682 MB / 407.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.4371, allocations: 72.08 kB / 407.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4371, allocations: 0 / 407.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4372, allocations: 16 kB / 407.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.4378, allocations: 39.89 kB / 407.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.4403, allocations: 1.531 MB / 408.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.4408, allocations: 0.704 MB / 409.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.4409, allocations: 12.84 kB / 409.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.441, allocations: 19.44 kB / 409.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.441, allocations: 4 kB / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.4688, allocations: 2.06 MB / 411.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.03/9.499, allocations: 10.23 kB / 411.6 MB, free: 13.02 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