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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 115.5 kB / 17.69 MB, free: 5.426 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.001196/0.001196, allocations: 192 kB / 18.63 MB, free: 4.492 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.428/1.428, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 51.45 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.102, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003065/0.1051, allocations: 1.615 MB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000867/0.106, allocations: 0.5103 MB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.1061, allocations: 0 / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.1061, allocations: 11.86 kB / 353.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.1063, allocations: 15.88 kB / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.1066, allocations: 59.8 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1067, allocations: 71.7 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1068, allocations: 24.22 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.1069, allocations: 27.86 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.107, allocations: 31.84 kB / 353.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.107, allocations: 4 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.107, allocations: 4 kB / 353.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.1071, allocations: 19.92 kB / 353.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.1071, allocations: 35.73 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1073, allocations: 79.66 kB / 354 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1073, allocations: 0 / 354 MB, free: 1.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1073, allocations: 0 / 354 MB, free: 1.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1073, allocations: 4 kB / 354 MB, free: 1.152 MB / 286.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.0005205/0.1078, allocations: 391 kB / 354.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1079, allocations: 12.03 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.1079, allocations: 12.83 kB / 354.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1082, allocations: 208 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1082, allocations: 8.375 kB / 354.6 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1082, allocations: 4.375 kB / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.1085, allocations: 148.8 kB / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1085, allocations: 0 / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1086, allocations: 0 / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1086, allocations: 4 kB / 354.8 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1087, allocations: 31.97 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1092, allocations: 317.5 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1094, allocations: 150.3 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.1095, allocations: 41.8 kB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1095, allocations: 7.938 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.1096, allocations: 63.38 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1096, allocations: 0 / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002887/0.1099, allocations: 113.5 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.11, allocations: 89.19 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1101, allocations: 144.7 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1101, allocations: 29.7 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.1102, allocations: 92.03 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1102, allocations: 15.89 kB / 355.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1103, allocations: 29.62 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1104, allocations: 326.8 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.1104, allocations: 19.98 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.1105, allocations: 65.08 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1107, allocations: 85.08 kB / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1107, allocations: 0 / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001952/0.1109, allocations: 121.6 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1109, allocations: 7.938 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1109, allocations: 4 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1109, allocations: 0 / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.111, allocations: 24.14 kB / 356.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.111, allocations: 7.922 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.1111, allocations: 4 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1111, allocations: 4 kB / 356.5 MB, free: 14.32 MB / 302.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 9.27e-05/0.1112, allocations: 133.7 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.1113, allocations: 49.61 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.411e-05/0.1113, allocations: 12.3 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1113, allocations: 7.938 kB / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1113, allocations: 0 / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1113, allocations: 4 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1117, allocations: 346.5 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1117, allocations: 0 / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.1118, allocations: 15.92 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1118, allocations: 0 / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1118, allocations: 0 / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1118, allocations: 4 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1118, allocations: 3.938 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.112, allocations: 204.1 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1121, allocations: 96.98 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1121, allocations: 4 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.1122, allocations: 4 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1122, allocations: 7.922 kB / 357.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1123, allocations: 4 kB / 357.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.1123, allocations: 111.3 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1123, allocations: 0 / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000239/0.1126, allocations: 12 kB / 357.5 MB, free: 13.2 MB / 302.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 9.921e-05/0.1127, allocations: 111.5 kB / 357.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1129, allocations: 67.84 kB / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1129, allocations: 0 / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.1129, allocations: 20.55 kB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1133, allocations: 36.17 kB / 357.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1137, allocations: 199.9 kB / 358 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1139, allocations: 0.7046 MB / 358.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.114, allocations: 12.59 kB / 358.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.114, allocations: 15.44 kB / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.114, allocations: 0 / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003213/0.1173, allocations: 0.7821 MB / 359.5 MB, free: 11.21 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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