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.0009795/0.0009795, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009672/0.0009672, allocations: 137.1 kB / 24.97 MB, free: 8.855 MB / 18.57 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.9957/0.9957, allocations: 173.4 MB / 201.5 MB, free: 9.273 MB / 186.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.282e-06/1.282e-06, allocations: 0 / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.267e-05, allocations: 6.25 kB / 268.1 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002155/0.002178, allocations: 1.689 MB / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.002899, allocations: 498.5 kB / 270.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.926e-05/0.002998, allocations: 7.938 kB / 270.3 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.00305, allocations: 7.922 kB / 270.3 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.003197, allocations: 7.875 kB / 270.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.003476, allocations: 71.67 kB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.003588, allocations: 55.84 kB / 270.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003697, allocations: 16.17 kB / 270.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.003788, allocations: 55.75 kB / 270.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.003846, allocations: 11.98 kB / 270.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.00387, allocations: 11.98 kB / 270.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.003882, allocations: 4 kB / 270.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.003931, allocations: 15.92 kB / 270.5 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.003972, allocations: 23.92 kB / 270.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.004093, allocations: 55.75 kB / 270.6 MB, free: 4.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004096, allocations: 3.984 kB / 270.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004097, allocations: 4 kB / 270.6 MB, free: 4.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.004102, allocations: 0 / 270.6 MB, free: 4.125 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.0004366/0.004539, allocations: 416.2 kB / 271 MB, free: 3.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004577, allocations: 8.922 kB / 271 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.004623, allocations: 20.88 kB / 271 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.004798, allocations: 148.3 kB / 271.2 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004809, allocations: 4.375 kB / 271.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.004821, allocations: 4.375 kB / 271.2 MB, free: 3.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.005067, allocations: 157.6 kB / 271.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005075, allocations: 192 / 271.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005084, allocations: 384 / 271.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.005095, allocations: 7.938 kB / 271.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.005139, allocations: 23.91 kB / 271.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.005493, allocations: 291.4 kB / 271.7 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.005641, allocations: 86.09 kB / 271.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.005682, allocations: 31.38 kB / 271.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.005703, allocations: 8.016 kB / 271.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.409e-05/0.005787, allocations: 61 kB / 271.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.005788, allocations: 4 kB / 271.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001813/0.005969, allocations: 85.62 kB / 271.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.006028, allocations: 89.05 kB / 272 MB, free: 2.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.006129, allocations: 201.8 kB / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006141, allocations: 25.7 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.006199, allocations: 138.9 kB / 272.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.006219, allocations: 23.83 kB / 272.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.006255, allocations: 27.38 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.006382, allocations: 0.4923 MB / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.006401, allocations: 4 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.006432, allocations: 42.98 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.006485, allocations: 47.25 kB / 273 MB, free: 1.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006487, allocations: 0 / 273 MB, free: 1.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.107e-05/0.006578, allocations: 93.5 kB / 273.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.00659, allocations: 4.062 kB / 273.1 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006595, allocations: 4 kB / 273.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006607, allocations: 0 / 273.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.00666, allocations: 8 kB / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.006666, allocations: 3.938 kB / 273.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.006735, allocations: 4 kB / 273.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.006744, allocations: 7.984 kB / 273.1 MB, free: 1.316 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 7.368e-05/0.006817, allocations: 160.6 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.006863, allocations: 61.53 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.006892, allocations: 8.469 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.006894, allocations: 4 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006898, allocations: 4 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006901, allocations: 240 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.007112, allocations: 329.4 kB / 273.7 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007114, allocations: 4 kB / 273.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.007143, allocations: 7.984 kB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.007145, allocations: 4 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.007153, allocations: 7.922 kB / 273.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007155, allocations: 0 / 273.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007155, allocations: 3.938 kB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.007278, allocations: 239.5 kB / 274 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.007308, allocations: 27.89 kB / 274 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.007328, allocations: 0 / 274 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.007363, allocations: 11.98 kB / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.007394, allocations: 0 / 274 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.007399, allocations: 4 kB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.007452, allocations: 150.2 kB / 274.1 MB, free: 232 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007452, allocations: 0 / 274.1 MB, free: 232 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.007604, allocations: 12 kB / 274.2 MB, free: 220 kB / 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 8.176e-05/0.007686, allocations: 102.8 kB / 274.3 MB, free: 112 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.007789, allocations: 51.78 kB / 274.3 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007791, allocations: 8.062 kB / 274.3 MB, free: 48 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.007816, allocations: 15.69 kB / 274.3 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.008068, allocations: 32.53 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.008524, allocations: 208.3 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.008564, allocations: 67.34 kB / 274.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.408e-05/0.008588, allocations: 7.984 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.008622, allocations: 12.5 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008623, allocations: 4 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Templates: time 0.002475/0.0111, allocations: 0.8441 MB / 275.5 MB, free: 14.82 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.790904297027737]