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.001359/0.001359, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4006, allocations: 50.55 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003457/0.4042, allocations: 1.64 MB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.4054, allocations: 0.5727 MB / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.4055, allocations: 3.938 kB / 411.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.4056, allocations: 7.875 kB / 411.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.4058, allocations: 15.86 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.4063, allocations: 67.8 kB / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.4064, allocations: 63.84 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.4066, allocations: 20.22 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.4068, allocations: 39.78 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.4069, allocations: 23.86 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.4069, allocations: 4 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.748e-05/0.407, allocations: 12 kB / 411.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.4071, allocations: 19.92 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.684e-05/0.4072, allocations: 47.72 kB / 411.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.4074, allocations: 87.64 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4074, allocations: 0 / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4074, allocations: 0 / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4074, allocations: 0 / 411.9 MB, free: 14.94 MB / 334.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.0006505/0.4081, allocations: 396.1 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4081, allocations: 12.03 kB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.4083, allocations: 16.83 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.4087, allocations: 209.8 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4087, allocations: 12.31 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.4087, allocations: 8.125 kB / 412.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.4091, allocations: 137 kB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4091, allocations: 7.938 kB / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4091, allocations: 0 / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4091, allocations: 0 / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.4093, allocations: 35.97 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.4098, allocations: 305.5 kB / 413 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4101, allocations: 154.3 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.4102, allocations: 41.73 kB / 413.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4102, allocations: 4 kB / 413.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.4103, allocations: 67.33 kB / 413.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.4104, allocations: 4 kB / 413.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003548/0.4107, allocations: 113.5 kB / 413.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.4108, allocations: 89.09 kB / 413.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4109, allocations: 149.3 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.411, allocations: 29.7 kB / 413.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.411, allocations: 96.03 kB / 413.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.4111, allocations: 15.91 kB / 413.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.4111, allocations: 41.61 kB / 413.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4113, allocations: 318.8 kB / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.325e-05/0.4114, allocations: 16 kB / 414.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.4115, allocations: 61.12 kB / 414.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.4116, allocations: 89.02 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/0.4116, allocations: 0 / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002136/0.4119, allocations: 121.5 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4119, allocations: 4 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4119, allocations: 4 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4119, allocations: 0 / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.412, allocations: 12 kB / 414.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.412, allocations: 3.938 kB / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.4121, allocations: 7.984 kB / 414.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.4121, allocations: 4 kB / 414.4 MB, free: 12.1 MB / 334.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.0001126/0.4123, allocations: 125.9 kB / 414.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.4123, allocations: 57.59 kB / 414.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.4124, allocations: 16.31 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4124, allocations: 3.984 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4124, allocations: 3.938 kB / 414.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4124, allocations: 7.938 kB / 414.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.4128, allocations: 343 kB / 414.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4129, allocations: 0 / 414.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.4129, allocations: 8 kB / 415 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.4129, allocations: 23.84 kB / 415 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.413, allocations: 4 kB / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.413, allocations: 0 / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.413, allocations: 3.938 kB / 415 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.4132, allocations: 192.3 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.4133, allocations: 104.9 kB / 415.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.4133, allocations: 11.94 kB / 415.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.4134, allocations: 0 / 415.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4135, allocations: 8 kB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4135, allocations: 3.984 kB / 415.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.4135, allocations: 110.6 kB / 415.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4136, allocations: 0 / 415.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.4138, allocations: 16 kB / 415.4 MB, free: 10.96 MB / 334.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.0001491/0.414, allocations: 106.9 kB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.4142, allocations: 63.91 kB / 415.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4142, allocations: 0 / 415.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.4143, allocations: 23.92 kB / 415.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.4147, allocations: 35.95 kB / 415.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.4152, allocations: 204.4 kB / 415.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4156, allocations: 0.7044 MB / 416.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.663e-05/0.4156, allocations: 8.422 kB / 416.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.4157, allocations: 11.44 kB / 416.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4157, allocations: 0 / 416.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of Templates: time 0.003877/0.4195, allocations: 0.8159 MB / 417.4 MB, free: 8.953 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/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