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.001484/0.001484, allocations: 104 kB / 17.59 MB, free: 5.559 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.001626/0.001626, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.474/1.474, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 39.72 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09981, allocations: 49.45 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003374/0.1032, allocations: 1.614 MB / 352.4 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1043, allocations: 0.5181 MB / 352.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1044, allocations: 4 kB / 352.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.374e-05/0.1045, allocations: 7.875 kB / 352.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1047, allocations: 15.86 kB / 352.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1051, allocations: 51.83 kB / 352.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1052, allocations: 59.84 kB / 353 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1053, allocations: 28.19 kB / 353 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.1054, allocations: 35.8 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.1055, allocations: 31.86 kB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1056, allocations: 4 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.1056, allocations: 4 kB / 353.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.1056, allocations: 19.91 kB / 353.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.1057, allocations: 39.73 kB / 353.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1059, allocations: 75.72 kB / 353.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1059, allocations: 3.984 kB / 353.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1059, allocations: 0 / 353.2 MB, free: 1.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1059, allocations: 0 / 353.2 MB, free: 1.891 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.0005535/0.1065, allocations: 399.3 kB / 353.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1065, allocations: 8.031 kB / 353.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1066, allocations: 12.84 kB / 353.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1068, allocations: 196 kB / 353.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1068, allocations: 12.36 kB / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1068, allocations: 8.375 kB / 353.9 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.1072, allocations: 148.8 kB / 354 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1072, allocations: 0 / 354 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1072, allocations: 8 kB / 354 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1072, allocations: 0 / 354 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1074, allocations: 31.91 kB / 354 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.1079, allocations: 313.5 kB / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.1082, allocations: 162.2 kB / 354.5 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.1083, allocations: 37.8 kB / 354.6 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1083, allocations: 0 / 354.6 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1085, allocations: 67.34 kB / 354.6 MB, free: 316 kB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.1085, allocations: 0 / 354.6 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003316/0.1089, allocations: 117.7 kB / 354.7 MB, free: 192 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.109, allocations: 81.05 kB / 354.8 MB, free: 92 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1091, allocations: 148.7 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1091, allocations: 25.7 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.1092, allocations: 100 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1092, allocations: 11.97 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1093, allocations: 37.55 kB / 355.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1094, allocations: 322.8 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.1095, allocations: 23.98 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.1096, allocations: 61.14 kB / 355.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1097, allocations: 77.08 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1097, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002205/0.1099, allocations: 121.4 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.11, allocations: 11.94 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.11, allocations: 0 / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.11, allocations: 0 / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.1101, allocations: 12 kB / 355.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1101, allocations: 3.984 kB / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.1102, allocations: 4.469 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1102, allocations: 12 kB / 355.8 MB, free: 15.06 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 0.0001087/0.1103, allocations: 129.7 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.1104, allocations: 57.59 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.1104, allocations: 16.3 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1105, allocations: 4 kB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1105, allocations: 3.938 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1105, allocations: 4 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.1109, allocations: 346.4 kB / 356.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1109, allocations: 0 / 356.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.1109, allocations: 11.98 kB / 356.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1109, allocations: 4 kB / 356.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.111, allocations: 4 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.111, allocations: 0 / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.111, allocations: 3.938 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1112, allocations: 204.1 kB / 356.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.1113, allocations: 96.98 kB / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1113, allocations: 0 / 356.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.1114, allocations: 8 kB / 356.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1115, allocations: 7.938 kB / 356.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.1115, allocations: 3.984 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.352e-05/0.1116, allocations: 107.3 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1116, allocations: 0 / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1119, allocations: 16 kB / 356.8 MB, free: 13.94 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 0.0001189/0.112, allocations: 109.6 kB / 356.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1122, allocations: 71.84 kB / 356.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1122, allocations: 0 / 356.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.1123, allocations: 23.92 kB / 357 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1127, allocations: 28.02 kB / 357 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.1132, allocations: 230.2 kB / 357.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1135, allocations: 0.7007 MB / 357.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.1135, allocations: 19.42 kB / 357.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1136, allocations: 3.938 kB / 357.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Templates: time 0.00269/0.1162, allocations: 1.039 MB / 359 MB, free: 11.66 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 -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