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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 249.1 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 47.92 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1009, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003584/0.1045, allocations: 1.649 MB / 419.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1056, allocations: 0.5142 MB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1057, allocations: 4 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.425e-05/0.1058, allocations: 11.86 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.106, allocations: 11.88 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1063, allocations: 59.81 kB / 420 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1065, allocations: 59.78 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1066, allocations: 24.2 kB / 420.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.1067, allocations: 27.92 kB / 420.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.1068, allocations: 31.8 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1068, allocations: 4 kB / 420.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.1069, allocations: 4 kB / 420.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.1069, allocations: 27.91 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.107, allocations: 35.8 kB / 420.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1072, allocations: 75.53 kB / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1072, allocations: 0 / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1072, allocations: 0 / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1072, allocations: 0 / 420.3 MB, free: 10.04 MB / 350.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.000619/0.1078, allocations: 406.9 kB / 420.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.1079, allocations: 12.03 kB / 420.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1079, allocations: 30.75 kB / 420.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.108, allocations: 24.89 kB / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1083, allocations: 198.2 kB / 421 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1083, allocations: 8.375 kB / 421 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1083, allocations: 4.375 kB / 421 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1086, allocations: 151.6 kB / 421.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1087, allocations: 0 / 421.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1087, allocations: 3.938 kB / 421.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1087, allocations: 0 / 421.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1088, allocations: 31.98 kB / 421.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.1093, allocations: 309.6 kB / 421.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.1096, allocations: 150.3 kB / 421.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.1097, allocations: 41.67 kB / 421.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1097, allocations: 0 / 421.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.1099, allocations: 63.39 kB / 421.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1099, allocations: 0 / 421.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003602/0.1102, allocations: 121.5 kB / 421.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.1104, allocations: 85.09 kB / 421.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1105, allocations: 140 kB / 422.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1105, allocations: 33.7 kB / 422.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.1106, allocations: 104.1 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1107, allocations: 15.91 kB / 422.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.1107, allocations: 29.7 kB / 422.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1109, allocations: 322.8 kB / 422.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.111, allocations: 19.98 kB / 422.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1111, allocations: 65.06 kB / 422.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1112, allocations: 85.08 kB / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1112, allocations: 0 / 422.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002244/0.1115, allocations: 109.5 kB / 422.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1115, allocations: 8 kB / 422.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.1115, allocations: 0 / 422.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.1115, allocations: 4.188 kB / 422.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.1116, allocations: 16.3 kB / 422.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1116, allocations: 7.938 kB / 422.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.1117, allocations: 8 kB / 422.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1117, allocations: 7.984 kB / 422.9 MB, free: 7.156 MB / 350.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.0001083/0.1118, allocations: 133.9 kB / 423 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.1119, allocations: 53.59 kB / 423.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.1119, allocations: 16.25 kB / 423.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1119, allocations: 4 kB / 423.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1119, allocations: 0 / 423.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.1119, allocations: 7.922 kB / 423.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.1123, allocations: 346.5 kB / 423.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1123, allocations: 4 kB / 423.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.1124, allocations: 11.94 kB / 423.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1124, allocations: 0 / 423.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1124, allocations: 0 / 423.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1124, allocations: 7.922 kB / 423.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1124, allocations: 4 kB / 423.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.1126, allocations: 200.2 kB / 423.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.1127, allocations: 101 kB / 423.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1127, allocations: 4 kB / 423.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.1128, allocations: 7.922 kB / 423.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1128, allocations: 4 kB / 423.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1129, allocations: 8 kB / 423.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.505e-05/0.1129, allocations: 107.2 kB / 423.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1129, allocations: 0 / 423.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1132, allocations: 12 kB / 423.9 MB, free: 6.031 MB / 350.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.0006901/0.1139, allocations: 0.7684 MB / 424.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1141, allocations: 63.84 kB / 424.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1141, allocations: 384 / 424.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.1141, allocations: 23.98 kB / 424.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1145, allocations: 32.17 kB / 424.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.1161, allocations: 1.53 MB / 426.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1165, allocations: 0.7044 MB / 427 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.1165, allocations: 20.78 kB / 427 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.1166, allocations: 23.42 kB / 427.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1166, allocations: 0 / 427.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.1455, allocations: 2.033 MB / 429.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.508/8.653, allocations: 19.28 kB / 429.1 MB, free: 0.7852 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.79641e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.096800557337701]