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.001322/0.001322, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001502/0.001502, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 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 1.448/1.448, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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.443e-06/1.443e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.288e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003317/0.003349, allocations: 1.628 MB / 269 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004456, allocations: 498.3 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.004549, allocations: 7.938 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.055e-05/0.00461, allocations: 7.922 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.004761, allocations: 11.86 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.00509, allocations: 59.75 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.005227, allocations: 63.77 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.005352, allocations: 20.22 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.005477, allocations: 43.83 kB / 269.7 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.005538, allocations: 15.92 kB / 269.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.005563, allocations: 12 kB / 269.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.005578, allocations: 4 kB / 269.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.00565, allocations: 23.91 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.005702, allocations: 19.92 kB / 269.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.005888, allocations: 79.64 kB / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005892, allocations: 0 / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005893, allocations: 0 / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.005897, allocations: 0 / 269.8 MB, free: 4.211 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.0006169/0.006514, allocations: 321.9 kB / 270.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.006556, allocations: 12.92 kB / 270.1 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.006621, allocations: 16.89 kB / 270.2 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.0069, allocations: 145.5 kB / 270.3 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.006912, allocations: 4.375 kB / 270.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.006931, allocations: 8.375 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.007293, allocations: 140.9 kB / 270.4 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.007306, allocations: 4.172 kB / 270.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.007322, allocations: 8.375 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.00733, allocations: 3.938 kB / 270.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.007456, allocations: 35.91 kB / 270.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.007955, allocations: 237.3 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.008196, allocations: 85.12 kB / 270.8 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.008282, allocations: 33.8 kB / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.00831, allocations: 11.88 kB / 270.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.008444, allocations: 67.39 kB / 270.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.008446, allocations: 0 / 270.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003629/0.008809, allocations: 117.5 kB / 271 MB, free: 2.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.008892, allocations: 81.11 kB / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.009053, allocations: 149.7 kB / 271.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.009077, allocations: 29.7 kB / 271.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.009148, allocations: 88.14 kB / 271.4 MB, free: 2.461 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.009171, allocations: 11.91 kB / 271.4 MB, free: 2.449 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.009231, allocations: 29.7 kB / 271.4 MB, free: 2.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.009419, allocations: 318.8 kB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.009484, allocations: 20 kB / 271.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.00957, allocations: 50.48 kB / 271.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.009717, allocations: 54.5 kB / 271.9 MB, free: 1.953 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.009721, allocations: 4 kB / 271.9 MB, free: 1.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002105/0.009932, allocations: 97.5 kB / 272 MB, free: 1.848 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.009952, allocations: 8 kB / 272 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.009957, allocations: 4.062 kB / 272 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.009971, allocations: 0 / 272 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.01005, allocations: 8.312 kB / 272 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01005, allocations: 0 / 272 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.0101, allocations: 11.98 kB / 272 MB, free: 1.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01011, allocations: 0 / 272 MB, free: 1.816 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 0.0001322/0.01024, allocations: 132.7 kB / 272.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.01034, allocations: 61.53 kB / 272.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.01038, allocations: 12.7 kB / 272.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.01039, allocations: 7.984 kB / 272.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.0104, allocations: 7.984 kB / 272.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.0104, allocations: 0 / 272.2 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.01081, allocations: 282.1 kB / 272.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01081, allocations: 0 / 272.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.01088, allocations: 11.98 kB / 272.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01088, allocations: 4 kB / 272.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01089, allocations: 4 kB / 272.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01089, allocations: 0 / 272.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01089, allocations: 0 / 272.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.01119, allocations: 212.1 kB / 272.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.01124, allocations: 19.91 kB / 272.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.01127, allocations: 7.984 kB / 272.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.01134, allocations: 0 / 272.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.01139, allocations: 8 kB / 272.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.0114, allocations: 7.984 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.01151, allocations: 106.4 kB / 272.8 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 3.938 kB / 272.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.01175, allocations: 12 kB / 272.9 MB, free: 0.8633 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 0.0001576/0.01191, allocations: 106.7 kB / 273 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.01211, allocations: 59.91 kB / 273 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01212, allocations: 0 / 273 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.01218, allocations: 16 kB / 273 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.01256, allocations: 33.3 kB / 273.1 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.01303, allocations: 212 kB / 273.3 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.01314, allocations: 85.11 kB / 273.4 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.01318, allocations: 12.39 kB / 273.4 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.01322, allocations: 16.48 kB / 273.4 MB, free: 280 kB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01322, allocations: 0 / 273.4 MB, free: 280 kB / 250.7 MB Notification: Performance of Templates: time 0.004115/0.01734, allocations: 0.8291 MB / 274.2 MB, free: 15.46 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.131865054019727]