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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009765/0.0009766, allocations: 113.9 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2539, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002638/0.2566, allocations: 1.706 MB / 408.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.2575, allocations: 0.5376 MB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.2576, allocations: 5.5 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.2577, allocations: 0 / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2578, allocations: 7.938 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.2581, allocations: 59.81 kB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2583, allocations: 58.94 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2584, allocations: 28.14 kB / 409.5 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2585, allocations: 35.84 kB / 409.5 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.2586, allocations: 27.86 kB / 409.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2586, allocations: 0 / 409.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.626e-05/0.2587, allocations: 12 kB / 409.5 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.2587, allocations: 15.92 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.2588, allocations: 35.73 kB / 409.6 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2589, allocations: 83.69 kB / 409.7 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.2589, allocations: 0 / 409.7 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.259, allocations: 0 / 409.7 MB, free: 25.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.259, allocations: 0 / 409.7 MB, free: 25.21 MB / 298.7 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.0007117/0.2597, allocations: 396.6 kB / 410.1 MB, free: 24.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.2597, allocations: 8.031 kB / 410.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.2599, allocations: 24.83 kB / 410.1 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.2601, allocations: 200 kB / 410.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2602, allocations: 384 / 410.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2602, allocations: 12.38 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.2605, allocations: 142.1 kB / 410.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2606, allocations: 4 kB / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2606, allocations: 4 kB / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.2606, allocations: 0 / 410.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.2607, allocations: 35.91 kB / 410.5 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2612, allocations: 309.6 kB / 410.8 MB, free: 23.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.2615, allocations: 154.2 kB / 410.9 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.2615, allocations: 33.8 kB / 411 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2616, allocations: 3.984 kB / 411 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.2618, allocations: 67.34 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.2618, allocations: 3.938 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003144/0.2621, allocations: 117.5 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.2622, allocations: 89.05 kB / 411.2 MB, free: 23.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2623, allocations: 136.2 kB / 411.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2623, allocations: 29.7 kB / 411.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.2624, allocations: 96.03 kB / 411.5 MB, free: 23.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.2624, allocations: 19.84 kB / 411.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.2624, allocations: 33.61 kB / 411.5 MB, free: 23.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.2625, allocations: 322.8 kB / 411.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.2626, allocations: 24.23 kB / 411.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.654e-05/0.2626, allocations: 57.14 kB / 411.9 MB, free: 22.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.2627, allocations: 89.08 kB / 412 MB, free: 22.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2628, allocations: 0 / 412 MB, free: 22.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001645/0.2629, allocations: 117.4 kB / 412.1 MB, free: 22.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2629, allocations: 11.94 kB / 412.2 MB, free: 22.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.263, allocations: 0 / 412.2 MB, free: 22.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.263, allocations: 4 kB / 412.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/0.2631, allocations: 8 kB / 412.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2631, allocations: 4 kB / 412.2 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.2631, allocations: 11.98 kB / 412.2 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2631, allocations: 4 kB / 412.2 MB, free: 22.39 MB / 298.7 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.48e-05/0.2632, allocations: 138.4 kB / 412.3 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.2633, allocations: 49.78 kB / 412.4 MB, free: 22.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.2633, allocations: 16.34 kB / 412.4 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2634, allocations: 7.984 kB / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2634, allocations: 0 / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.2634, allocations: 0 / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2637, allocations: 350.5 kB / 412.7 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2637, allocations: 4 kB / 412.7 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.2637, allocations: 8 kB / 412.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2637, allocations: 0 / 412.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2638, allocations: 3.984 kB / 412.7 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2638, allocations: 4 kB / 412.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2638, allocations: 4.062 kB / 412.8 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.2641, allocations: 0.7755 MB / 413.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.2642, allocations: 112.7 kB / 413.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2642, allocations: 0 / 413.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.2643, allocations: 7.984 kB / 413.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2643, allocations: 0 / 413.6 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.2644, allocations: 8 kB / 413.7 MB, free: 20.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.2644, allocations: 113.8 kB / 413.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2644, allocations: 0 / 413.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.2648, allocations: 12 kB / 413.8 MB, free: 20.64 MB / 298.7 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.00011/0.2649, allocations: 103.2 kB / 413.9 MB, free: 20.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.2651, allocations: 71.83 kB / 414 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2651, allocations: 0 / 414 MB, free: 20.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.2651, allocations: 16 kB / 414 MB, free: 20.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2655, allocations: 32.5 kB / 414 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.2659, allocations: 360.9 kB / 414.4 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2661, allocations: 0.7083 MB / 415.1 MB, free: 19.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.804e-05/0.2661, allocations: 8.656 kB / 415.1 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.2662, allocations: 11.44 kB / 415.1 MB, free: 19.26 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2662, allocations: 0 / 415.1 MB, free: 19.26 MB / 298.7 MB Notification: Performance of Templates: time 0.003017/0.2692, allocations: 0.7735 MB / 415.9 MB, free: 18.5 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches