Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009959/0.0009961, allocations: 94.84 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 247.5 MB, free: 9.332 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002286/0.0002286, allocations: 8.281 kB / 308.4 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09799, allocations: 51.52 MB / 359.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001934/0.09997, allocations: 1.364 MB / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.101, allocations: 0.5533 MB / 361.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.1011, allocations: 0 / 361.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.1012, allocations: 7.922 kB / 361.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.1013, allocations: 7.938 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1016, allocations: 63.83 kB / 361.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1017, allocations: 63.83 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1019, allocations: 24.14 kB / 362 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.102, allocations: 31.86 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.102, allocations: 27.84 kB / 362.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1021, allocations: 0 / 362.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.1021, allocations: 4 kB / 362.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.1022, allocations: 19.92 kB / 362.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1022, allocations: 61.44 kB / 362.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1023, allocations: 51.83 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1024, allocations: 0 / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1024, allocations: 0 / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1024, allocations: 0 / 362.2 MB, free: 10.71 MB / 302.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.0005084/0.1029, allocations: 387.5 kB / 362.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1029, allocations: 12.03 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.1031, allocations: 20.75 kB / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1033, allocations: 208 kB / 362.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1033, allocations: 12.38 kB / 362.8 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.1034, allocations: 8.125 kB / 362.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.1037, allocations: 145 kB / 363 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1037, allocations: 0 / 363 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1037, allocations: 0 / 363 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1037, allocations: 0 / 363 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1039, allocations: 47.91 kB / 363 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1043, allocations: 309.6 kB / 363.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1046, allocations: 158.2 kB / 363.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.1047, allocations: 45.78 kB / 363.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1047, allocations: 0 / 363.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1048, allocations: 71.28 kB / 363.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1049, allocations: 0 / 363.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003149/0.1052, allocations: 125.5 kB / 363.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.1052, allocations: 85.05 kB / 363.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1054, allocations: 153.7 kB / 363.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1054, allocations: 25.7 kB / 364 MB, free: 8.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.1054, allocations: 100.1 kB / 364.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1055, allocations: 15.8 kB / 364.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1055, allocations: 13.72 kB / 364.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1056, allocations: 322.8 kB / 364.4 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.1057, allocations: 27.98 kB / 364.4 MB, free: 8.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.1058, allocations: 61.14 kB / 364.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1059, allocations: 85.08 kB / 364.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.106, allocations: 0 / 364.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002264/0.1062, allocations: 121.4 kB / 364.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1062, allocations: 7.938 kB / 364.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1062, allocations: 0 / 364.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1062, allocations: 4 kB / 364.7 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.1063, allocations: 16.16 kB / 364.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1063, allocations: 3.938 kB / 364.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.1064, allocations: 11.98 kB / 364.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1064, allocations: 7.984 kB / 364.7 MB, free: 7.84 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 8.685e-05/0.1065, allocations: 121.8 kB / 364.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.1066, allocations: 57.59 kB / 364.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1067, allocations: 12.31 kB / 364.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1067, allocations: 3.984 kB / 364.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1067, allocations: 12.25 kB / 364.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1067, allocations: 0 / 364.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.107, allocations: 350.4 kB / 365.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.107, allocations: 4 kB / 365.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.1071, allocations: 15.98 kB / 365.3 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1071, allocations: 4.172 kB / 365.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1071, allocations: 0 / 365.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1071, allocations: 8 kB / 365.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1072, allocations: 0 / 365.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1074, allocations: 200.2 kB / 365.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.1075, allocations: 105 kB / 365.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1075, allocations: 11.94 kB / 365.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.1076, allocations: 8 kB / 365.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.1076, allocations: 0 / 365.6 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1076, allocations: 7.984 kB / 365.6 MB, free: 6.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.1077, allocations: 106.3 kB / 365.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1077, allocations: 4 kB / 365.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000247/0.108, allocations: 12 kB / 365.8 MB, free: 6.707 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.0001091/0.1081, allocations: 107.2 kB / 365.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1083, allocations: 71.91 kB / 365.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1083, allocations: 0 / 365.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.1084, allocations: 23.98 kB / 366 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1088, allocations: 27.91 kB / 366 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.1092, allocations: 276.3 kB / 366.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1095, allocations: 0.6965 MB / 367 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.1095, allocations: 19.42 kB / 367 MB, free: 5.418 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1095, allocations: 0 / 367 MB, free: 5.418 MB / 302.1 MB Notification: Performance of Templates: time 0.002603/0.1121, allocations: 1.062 MB / 368 MB, free: 4.363 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches