Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001507/0.00257, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002349, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8131/0.8131, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1377/0.9508, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.312e-05, allocations: 3.156 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001798/0.001811, allocations: 1.739 MB / 241.5 MB, free: 4.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.002322, allocations: 0.504 MB / 242 MB, free: 4.105 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.002388, allocations: 8.625 kB / 242 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.00242, allocations: 3.938 kB / 242 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.002484, allocations: 20.53 kB / 242 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.002657, allocations: 52.44 kB / 242.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.002749, allocations: 63.8 kB / 242.1 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.468e-05/0.002823, allocations: 18.7 kB / 242.2 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.002904, allocations: 51.83 kB / 242.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.00296, allocations: 23.91 kB / 242.2 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.002983, allocations: 4 kB / 242.2 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.002994, allocations: 4 kB / 242.2 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.003031, allocations: 15.94 kB / 242.3 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.003057, allocations: 17.38 kB / 242.3 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.344e-05/0.00315, allocations: 51.7 kB / 242.3 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.003157, allocations: 0 / 242.3 MB, free: 3.773 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003158, allocations: 0 / 242.3 MB, free: 3.773 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.003167, allocations: 0.8125 kB / 242.3 MB, free: 3.773 MB / 234.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.0003402/0.003507, allocations: 316.1 kB / 242.6 MB, free: 3.441 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.565e-05/0.003533, allocations: 13.11 kB / 242.6 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.003564, allocations: 12.94 kB / 242.7 MB, free: 3.418 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.003696, allocations: 136.8 kB / 242.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.003704, allocations: 4.375 kB / 242.8 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.003716, allocations: 8.375 kB / 242.8 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.003872, allocations: 138.2 kB / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.003884, allocations: 192 / 242.9 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.003893, allocations: 9.625 kB / 243 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.003898, allocations: 3.938 kB / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.003923, allocations: 11.98 kB / 243 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.004129, allocations: 174.1 kB / 243.1 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.004233, allocations: 64.11 kB / 243.2 MB, free: 2.805 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.004256, allocations: 25.78 kB / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.004272, allocations: 0 / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.004333, allocations: 67.34 kB / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.004334, allocations: 0 / 243.3 MB, free: 2.695 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.000106/0.00444, allocations: 77.55 kB / 243.4 MB, free: 2.613 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.004483, allocations: 85.05 kB / 243.5 MB, free: 2.512 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.004544, allocations: 138.1 kB / 243.6 MB, free: 2.367 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004556, allocations: 30.67 kB / 243.6 MB, free: 2.332 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.004583, allocations: 88.12 kB / 243.7 MB, free: 2.242 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.0046, allocations: 16.8 kB / 243.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.004626, allocations: 21.7 kB / 243.7 MB, free: 2.199 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.004684, allocations: 322.8 kB / 244.1 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.004694, allocations: 5.781 kB / 244.1 MB, free: 1.871 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.004713, allocations: 30.56 kB / 244.1 MB, free: 1.832 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.00475, allocations: 42.48 kB / 244.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004751, allocations: 0.6562 kB / 244.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.622e-05/0.004808, allocations: 66.3 kB / 244.2 MB, free: 1.711 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.004824, allocations: 9.906 kB / 244.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004827, allocations: 0 / 244.2 MB, free: 1.703 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.004838, allocations: 4 kB / 244.2 MB, free: 1.699 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.004885, allocations: 7.938 kB / 244.2 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.004888, allocations: 7.984 kB / 244.2 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.004909, allocations: 5.422 kB / 244.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.004915, allocations: 4 kB / 244.2 MB, free: 1.676 MB / 234.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 5.187e-05/0.004967, allocations: 118.7 kB / 244.4 MB, free: 1.551 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.004996, allocations: 45.62 kB / 244.4 MB, free: 1.5 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.00502, allocations: 17.08 kB / 244.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005021, allocations: 3.938 kB / 244.4 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005023, allocations: 0.5938 kB / 244.4 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.005025, allocations: 0.5625 kB / 244.4 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.005151, allocations: 203.2 kB / 244.6 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005153, allocations: 5.719 kB / 244.6 MB, free: 1.246 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.005182, allocations: 19.86 kB / 244.6 MB, free: 1.227 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.005208, allocations: 27.86 kB / 244.7 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005209, allocations: 0 / 244.7 MB, free: 1.199 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005214, allocations: 4.5 kB / 244.7 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005215, allocations: 0.8438 kB / 244.7 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005216, allocations: 0 / 244.7 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.107e-05/0.005277, allocations: 148.3 kB / 244.8 MB, free: 1.031 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.005292, allocations: 9.844 kB / 244.8 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.005323, allocations: 3.938 kB / 244.8 MB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.005343, allocations: 4 kB / 244.8 MB, free: 1.016 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.005348, allocations: 7.984 kB / 244.8 MB, free: 1.008 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.25e-05/0.005371, allocations: 36.88 kB / 244.9 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005371, allocations: 0 / 244.9 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001214/0.005492, allocations: 11.95 kB / 244.9 MB, free: 0.957 MB / 234.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 5.954e-05/0.005552, allocations: 88.36 kB / 245 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.005614, allocations: 28.84 kB / 245 MB, free: 0.832 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.005619, allocations: 8 kB / 245 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.463e-05/0.005644, allocations: 24.78 kB / 245 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.005888, allocations: 88.89 kB / 245.1 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.006515, allocations: 218.6 kB / 245.3 MB, free: 468 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.317e-05/0.006548, allocations: 63.34 kB / 245.4 MB, free: 384 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.00657, allocations: 4 kB / 245.4 MB, free: 380 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.006622, allocations: 63.36 kB / 245.5 MB, free: 316 kB / 234.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006623, allocations: 0 / 245.5 MB, free: 316 kB / 234.7 MB Notification: Performance of Templates: time 0.002092/0.008715, allocations: 0.9027 MB / 246.4 MB, free: 15.44 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.2788173221051693]