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.001488/0.001488, allocations: 104.2 kB / 17.06 MB, free: 6.027 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.001603/0.001603, allocations: 196 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.435/2.435, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 39.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5788, allocations: 49.46 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.005564/0.5844, allocations: 1.622 MB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.5861, allocations: 0.5033 MB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.5863, allocations: 3.938 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.051e-05/0.5865, allocations: 3.938 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.5867, allocations: 19.84 kB / 402.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.5873, allocations: 59.77 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.5875, allocations: 63.72 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.5877, allocations: 28.22 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.5878, allocations: 35.84 kB / 402.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.5879, allocations: 31.78 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.588, allocations: 8 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.588, allocations: 4 kB / 402.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.5881, allocations: 11.94 kB / 402.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.5882, allocations: 43.72 kB / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.5884, allocations: 75.7 kB / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5884, allocations: 0 / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5885, allocations: 0 / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5885, allocations: 0 / 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.0007926/0.5893, allocations: 396.7 kB / 403.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.5893, allocations: 8.031 kB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.5894, allocations: 38.75 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.5895, allocations: 8.844 kB / 403.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.5899, allocations: 204 kB / 403.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.59, allocations: 8.375 kB / 403.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.59, allocations: 12.34 kB / 403.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.5905, allocations: 141.1 kB / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5905, allocations: 0 / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.5906, allocations: 4 kB / 403.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5906, allocations: 0 / 403.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.5908, allocations: 43.89 kB / 403.6 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007605/0.5915, allocations: 301.7 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.5919, allocations: 154.2 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.592, allocations: 45.78 kB / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.5921, allocations: 0 / 404.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.5923, allocations: 63.31 kB / 404.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.5923, allocations: 0 / 404.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004685/0.5928, allocations: 121.5 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.5929, allocations: 85.05 kB / 404.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.5931, allocations: 145.8 kB / 404.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5931, allocations: 25.7 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.5933, allocations: 96.12 kB / 404.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.5933, allocations: 15.75 kB / 404.6 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.5934, allocations: 29.7 kB / 404.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5936, allocations: 322.8 kB / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.5937, allocations: 23.98 kB / 405 MB, free: 3.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5939, allocations: 57.14 kB / 405.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.5941, allocations: 85.08 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5941, allocations: 7.875 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003245/0.5944, allocations: 121.7 kB / 405.3 MB, free: 3.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5945, allocations: 4 kB / 405.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5945, allocations: 4 kB / 405.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.5945, allocations: 4.156 kB / 405.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.5947, allocations: 15.94 kB / 405.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.5947, allocations: 3.984 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.5948, allocations: 4 kB / 405.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.5948, allocations: 8 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.0001748/0.595, allocations: 125.7 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5951, allocations: 61.67 kB / 405.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.5952, allocations: 20.3 kB / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5952, allocations: 0 / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5952, allocations: 4 kB / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5952, allocations: 4 kB / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.5959, allocations: 342.5 kB / 405.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5959, allocations: 0 / 405.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.596, allocations: 8 kB / 405.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.596, allocations: 7.984 kB / 405.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.596, allocations: 4 kB / 405.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.596, allocations: 3.938 kB / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.596, allocations: 0 / 405.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.5964, allocations: 200.2 kB / 406.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5965, allocations: 100.9 kB / 406.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.5966, allocations: 0 / 406.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5967, allocations: 7.938 kB / 406.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.5968, allocations: 8 kB / 406.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.5968, allocations: 3.984 kB / 406.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.597, allocations: 114 kB / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.597, allocations: 0 / 406.3 MB, free: 2.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000439/0.5974, allocations: 15.91 kB / 406.3 MB, free: 2.285 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.001041/0.5985, allocations: 0.7762 MB / 407.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.5988, allocations: 64.03 kB / 407.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5988, allocations: 0 / 407.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.5989, allocations: 28.11 kB / 407.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.5995, allocations: 35.02 kB / 407.2 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.6019, allocations: 1.542 MB / 408.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.6024, allocations: 0.704 MB / 409.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.6025, allocations: 4.672 kB / 409.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.6026, allocations: 27.42 kB / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6026, allocations: 0 / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.6326, allocations: 2.052 MB / 411.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.81, allocations: 6.406 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