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.001101/0.001101, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 206 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2459, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002857/0.2488, allocations: 1.644 MB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2499, allocations: 0.5687 MB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.25, allocations: 4 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.2501, allocations: 11.86 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.2502, allocations: 15.88 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.2506, allocations: 67.8 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2507, allocations: 67.83 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2508, allocations: 16.22 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2509, allocations: 43.77 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.251, allocations: 31.86 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.251, allocations: 4 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.2511, allocations: 8 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.2512, allocations: 23.92 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.2512, allocations: 43.73 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2514, allocations: 83.62 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2514, allocations: 0 / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2514, allocations: 3.938 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2514, allocations: 0 / 412.6 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.0005226/0.2519, allocations: 400.2 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.252, allocations: 12.03 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2522, allocations: 16.83 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.2525, allocations: 201.8 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2525, allocations: 4.375 kB / 413.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2526, allocations: 12.12 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.2529, allocations: 137 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.253, allocations: 0 / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.253, allocations: 7.984 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.253, allocations: 0 / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2531, allocations: 31.97 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.2536, allocations: 313.5 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.2538, allocations: 150.2 kB / 413.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.2539, allocations: 37.8 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2539, allocations: 4 kB / 413.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.254, allocations: 67.33 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.2541, allocations: 7.938 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003097/0.2544, allocations: 113.5 kB / 414.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.2545, allocations: 85.11 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2546, allocations: 157.3 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.2546, allocations: 29.7 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.2547, allocations: 96.03 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.2547, allocations: 11.84 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.2548, allocations: 37.61 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2549, allocations: 314.8 kB / 414.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.155e-05/0.2549, allocations: 19.98 kB / 414.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.255, allocations: 65.12 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2552, allocations: 89.02 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2552, allocations: 0 / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001979/0.2554, allocations: 109.5 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2554, allocations: 4 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2554, allocations: 4 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2555, allocations: 320 / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.2555, allocations: 19.98 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2556, allocations: 4.094 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.2556, allocations: 15.94 kB / 415.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.2556, allocations: 7.984 kB / 415.1 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.0001193/0.2558, allocations: 126 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/0.2558, allocations: 53.59 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.2559, allocations: 12.31 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2559, allocations: 0 / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2559, allocations: 7.875 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2559, allocations: 4 kB / 415.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.2563, allocations: 354.5 kB / 415.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2563, allocations: 0 / 415.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.2564, allocations: 8 kB / 415.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2564, allocations: 7.938 kB / 415.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2564, allocations: 0 / 415.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.2564, allocations: 7.922 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2564, allocations: 0 / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.2566, allocations: 204.3 kB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.2567, allocations: 100.9 kB / 416 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.2568, allocations: 4.094 kB / 416 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.2568, allocations: 7.922 kB / 416 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2569, allocations: 4 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.2569, allocations: 4 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.534e-05/0.257, allocations: 114.6 kB / 416.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.257, allocations: 0 / 416.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.2572, allocations: 16 kB / 416.1 MB, free: 10.97 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.0001198/0.2574, allocations: 99.25 kB / 416.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.2576, allocations: 67.89 kB / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2576, allocations: 0 / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.2576, allocations: 19.94 kB / 416.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.258, allocations: 40.25 kB / 416.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.2584, allocations: 238.1 kB / 416.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.2587, allocations: 0.7002 MB / 417.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.2587, allocations: 11.44 kB / 417.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2588, allocations: 0 / 417.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of Templates: time 0.002644/0.2614, allocations: 1.073 MB / 418.4 MB, free: 8.664 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/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