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.001354/0.001354, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.2 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09817, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.0033/0.1015, allocations: 1.699 MB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1027, allocations: 0.561 MB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1028, allocations: 7.938 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.563e-05/0.1029, allocations: 3.984 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1031, allocations: 15.88 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.1035, allocations: 63.5 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1036, allocations: 55.84 kB / 359.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1037, allocations: 36.14 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.1039, allocations: 27.91 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.104, allocations: 27.86 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.104, allocations: 7.938 kB / 359.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.104, allocations: 7.984 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.1041, allocations: 15.92 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.1041, allocations: 31.75 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.1043, allocations: 59.84 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1043, allocations: 0 / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1043, allocations: 0 / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1043, allocations: 0 / 360.1 MB, free: 11.88 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.0005547/0.1049, allocations: 407.3 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1049, allocations: 12.03 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.1051, allocations: 24.69 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1053, allocations: 200 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1053, allocations: 4.375 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1054, allocations: 12.11 kB / 360.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.1057, allocations: 152.9 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1057, allocations: 4 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1057, allocations: 0 / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1057, allocations: 0 / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1059, allocations: 35.97 kB / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.1064, allocations: 313.5 kB / 361.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1066, allocations: 146.4 kB / 361.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.1067, allocations: 45.69 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1067, allocations: 3.938 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1069, allocations: 59.41 kB / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/0.1069, allocations: 0 / 361.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003295/0.1072, allocations: 125.4 kB / 361.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1073, allocations: 85.11 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1074, allocations: 157.6 kB / 361.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1075, allocations: 25.7 kB / 361.8 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.1075, allocations: 92.14 kB / 361.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1076, allocations: 15.8 kB / 361.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1076, allocations: 21.72 kB / 362 MB, free: 9.715 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1078, allocations: 322.8 kB / 362.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.1078, allocations: 23.98 kB / 362.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.1079, allocations: 65.08 kB / 362.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1081, allocations: 81.08 kB / 362.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1081, allocations: 0 / 362.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002091/0.1083, allocations: 117.4 kB / 362.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1083, allocations: 4 kB / 362.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1083, allocations: 4 kB / 362.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1083, allocations: 0 / 362.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.1084, allocations: 20.14 kB / 362.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1085, allocations: 7.875 kB / 362.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.1085, allocations: 8 kB / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1085, allocations: 4.312 kB / 362.6 MB, free: 9.02 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.733e-05/0.1086, allocations: 121.8 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.1087, allocations: 61.69 kB / 362.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.1088, allocations: 16.3 kB / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1088, allocations: 0 / 362.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1088, allocations: 11.88 kB / 362.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1088, allocations: 4 kB / 362.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1092, allocations: 342.6 kB / 363.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1092, allocations: 3.938 kB / 363.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.1092, allocations: 11.98 kB / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1093, allocations: 7.875 kB / 363.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1093, allocations: 4 kB / 363.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1093, allocations: 3.938 kB / 363.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1093, allocations: 0 / 363.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.1095, allocations: 200.2 kB / 363.4 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.1096, allocations: 100.9 kB / 363.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1096, allocations: 4 kB / 363.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1097, allocations: 4 kB / 363.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1098, allocations: 7.984 kB / 363.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1098, allocations: 0 / 363.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.1098, allocations: 118.4 kB / 363.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1099, allocations: 0 / 363.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1101, allocations: 19.91 kB / 363.6 MB, free: 7.887 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.0001151/0.1102, allocations: 99.25 kB / 363.7 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1104, allocations: 63.91 kB / 363.8 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1104, allocations: 3.938 kB / 363.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.1105, allocations: 24.28 kB / 363.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1108, allocations: 35.95 kB / 363.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.1113, allocations: 255.8 kB / 364.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1116, allocations: 0.7043 MB / 364.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.1116, allocations: 15.44 kB / 364.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1116, allocations: 0 / 364.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of Templates: time 0.002761/0.1144, allocations: 1.061 MB / 365.9 MB, free: 5.57 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