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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 90.31 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 157.5 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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=5010,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=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.175e-05, allocations: 2.281 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002556/0.002578, allocations: 1.654 MB / 326.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.003619, allocations: 0.5462 MB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.003683, allocations: 1.125 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.003726, allocations: 9.656 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.003835, allocations: 16.69 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.004165, allocations: 61.97 kB / 327.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.004291, allocations: 70.88 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.004374, allocations: 16.86 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004512, allocations: 55.78 kB / 327.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.004564, allocations: 20 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004582, allocations: 5.312 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.004616, allocations: 8.438 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.004661, allocations: 24.05 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.004697, allocations: 18.08 kB / 327.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.00485, allocations: 83.67 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004852, allocations: 0 / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004853, allocations: 0 / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004856, allocations: 5.188 kB / 327.6 MB, free: 14.8 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.000439/0.005295, allocations: 318.9 kB / 327.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.005324, allocations: 12.64 kB / 327.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.005466, allocations: 27.64 kB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.005689, allocations: 147.9 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-06/0.005696, allocations: 3.5 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.005713, allocations: 13.27 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.005994, allocations: 136.4 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.00601, allocations: 3.938 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.006026, allocations: 5.688 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006031, allocations: 1.219 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.006143, allocations: 31.88 kB / 328.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.006571, allocations: 245.7 kB / 328.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.00678, allocations: 86.8 kB / 328.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.006863, allocations: 38.88 kB / 328.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.006881, allocations: 2.547 kB / 328.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.007003, allocations: 63.62 kB / 328.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.007005, allocations: 0 / 328.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003291/0.007334, allocations: 121.5 kB / 328.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.0074, allocations: 85.16 kB / 328.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007538, allocations: 151.8 kB / 329.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.007566, allocations: 33.64 kB / 329.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.007626, allocations: 92.84 kB / 329.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.007647, allocations: 12.86 kB / 329.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.007702, allocations: 30.38 kB / 329.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.007851, allocations: 323.9 kB / 329.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.007917, allocations: 17.7 kB / 329.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.007992, allocations: 40.55 kB / 329.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.00812, allocations: 62.42 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.008122, allocations: 1 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001913/0.008313, allocations: 86.89 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.008326, allocations: 5.5 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.00833, allocations: 1.625 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.008347, allocations: 1.969 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.008412, allocations: 6.109 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.008418, allocations: 1.922 kB / 329.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.008471, allocations: 11.97 kB / 329.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.00848, allocations: 6.641 kB / 329.8 MB, free: 12.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.000109/0.008589, allocations: 127.4 kB / 329.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.008668, allocations: 56.11 kB / 330 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.008707, allocations: 13.67 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008709, allocations: 1.812 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.008714, allocations: 1.375 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.008718, allocations: 0.7031 kB / 330 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.009077, allocations: 297.9 kB / 330.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009079, allocations: 0 / 330.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.009137, allocations: 11.14 kB / 330.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.00914, allocations: 5.188 kB / 330.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.00915, allocations: 1.797 kB / 330.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009152, allocations: 1.031 kB / 330.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.009154, allocations: 5.688 kB / 330.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.009413, allocations: 204.1 kB / 330.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.009466, allocations: 19.84 kB / 330.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.009488, allocations: 2.141 kB / 330.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.00957, allocations: 10.42 kB / 330.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.009605, allocations: 4.375 kB / 330.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.009616, allocations: 11.28 kB / 330.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.009707, allocations: 109.3 kB / 330.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009707, allocations: 0 / 330.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.009956, allocations: 15.47 kB / 330.7 MB, free: 12.2 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.0001107/0.01007, allocations: 104.5 kB / 330.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.01026, allocations: 55.25 kB / 330.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01026, allocations: 0 / 330.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.01033, allocations: 19.62 kB / 330.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.01066, allocations: 34.25 kB / 330.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.01109, allocations: 208.3 kB / 331.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.652e-05/0.01118, allocations: 84.83 kB / 331.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.01122, allocations: 7.25 kB / 331.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.01126, allocations: 13.88 kB / 331.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01126, allocations: 0 / 331.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Templates: time 0.003783/0.01504, allocations: 0.8441 MB / 332 MB, free: 11.54 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.39936188608408]