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.001267/0.001267, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001802/0.003069, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001085/0.001085, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.002093, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9761/0.9761, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08805/1.064, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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.352e-06/1.352e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.073e-05, allocations: 6.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003659/0.00368, allocations: 1.743 MB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.004525, allocations: 0.584 MB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.004602, allocations: 3.938 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.004639, allocations: 3.938 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.004721, allocations: 19.84 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.004971, allocations: 63.69 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.005093, allocations: 71.72 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.00519, allocations: 16.22 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.005336, allocations: 59.88 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.005396, allocations: 15.92 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.005418, allocations: 8 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.005474, allocations: 11.98 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.005518, allocations: 15.92 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.00555, allocations: 15.94 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.005687, allocations: 63.64 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.005697, allocations: 4 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005697, allocations: 0 / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.005707, allocations: 0 / 247.9 MB, free: 10.82 MB / 250.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.0003587/0.006066, allocations: 312.2 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.006092, allocations: 8.625 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.00622, allocations: 98.02 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.006356, allocations: 146.2 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-06/0.006362, allocations: 4.312 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.006373, allocations: 12.38 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.006524, allocations: 142.2 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.006531, allocations: 3.938 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.006538, allocations: 4 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.006542, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.006565, allocations: 11.98 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.006773, allocations: 177 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.006878, allocations: 57.2 kB / 248.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.006899, allocations: 21.72 kB / 248.9 MB, free: 9.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.006916, allocations: 15.88 kB / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.006976, allocations: 59.48 kB / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.006978, allocations: 0 / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001085/0.007086, allocations: 65.61 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.007138, allocations: 85.11 kB / 249.1 MB, free: 9.457 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.007208, allocations: 146 kB / 249.2 MB, free: 9.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.007219, allocations: 25.7 kB / 249.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.007251, allocations: 96.08 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.007266, allocations: 11.88 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.007296, allocations: 29.66 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.007364, allocations: 322.8 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.007374, allocations: 8 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.007394, allocations: 30.5 kB / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.007433, allocations: 46.48 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007435, allocations: 0 / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.505e-05/0.00749, allocations: 57.61 kB / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.007499, allocations: 11.94 kB / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.007503, allocations: 0 / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.007511, allocations: 0 / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.007556, allocations: 12.06 kB / 249.9 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.00756, allocations: 4 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.00758, allocations: 7.984 kB / 249.9 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.007585, allocations: 4 kB / 249.9 MB, free: 8.602 MB / 250.7 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 6.017e-05/0.007645, allocations: 120.6 kB / 250 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.007675, allocations: 49.8 kB / 250.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.007699, allocations: 12.47 kB / 250.1 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007701, allocations: 7.922 kB / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007702, allocations: 0 / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007705, allocations: 0 / 250.1 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.007837, allocations: 211.1 kB / 250.3 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007839, allocations: 8 kB / 250.3 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.007865, allocations: 11.98 kB / 250.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.007889, allocations: 19.89 kB / 250.3 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007891, allocations: 0 / 250.3 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.007897, allocations: 7.984 kB / 250.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007898, allocations: 4 kB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007899, allocations: 0 / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.734e-05/0.007966, allocations: 148.4 kB / 250.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.007981, allocations: 8 kB / 250.5 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.008013, allocations: 7.922 kB / 250.5 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.008033, allocations: 8 kB / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008036, allocations: 0 / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.381e-05/0.00806, allocations: 36.81 kB / 250.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00806, allocations: 0 / 250.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001146/0.008174, allocations: 11.94 kB / 250.6 MB, free: 7.879 MB / 250.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 7.292e-05/0.008247, allocations: 88.36 kB / 250.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.008318, allocations: 40.72 kB / 250.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.008322, allocations: 4 kB / 250.7 MB, free: 7.734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.008348, allocations: 16.84 kB / 250.7 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.008559, allocations: 94.08 kB / 250.8 MB, free: 7.609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.009173, allocations: 206.6 kB / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.00921, allocations: 67.34 kB / 251.1 MB, free: 7.293 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.202e-05/0.009232, allocations: 4.719 kB / 251.1 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.009286, allocations: 59.38 kB / 251.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.009287, allocations: 0 / 251.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of Templates: time 0.002356/0.01164, allocations: 0.903 MB / 252 MB, free: 6.352 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4116332018747926]