Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.706/1.706, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 51.94 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1403, allocations: 53.31 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003875/0.1441, allocations: 1.657 MB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1454, allocations: 0.5804 MB / 429 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1455, allocations: 4 kB / 429 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.668e-05/0.1456, allocations: 7.875 kB / 429.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1458, allocations: 15.86 kB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1462, allocations: 71.73 kB / 429.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1464, allocations: 63.78 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1465, allocations: 24.2 kB / 429.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1467, allocations: 39.8 kB / 429.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.1468, allocations: 23.86 kB / 429.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1468, allocations: 8 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.1468, allocations: 12 kB / 429.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.1469, allocations: 23.91 kB / 429.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.147, allocations: 39.73 kB / 429.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1472, allocations: 79.58 kB / 429.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1472, allocations: 3.938 kB / 429.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1472, allocations: 0 / 429.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1472, allocations: 4 kB / 429.5 MB, free: 1.605 MB / 350.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.0006914/0.1479, allocations: 395 kB / 429.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1479, allocations: 12.03 kB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.1481, allocations: 24.83 kB / 429.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1484, allocations: 200.8 kB / 430.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1484, allocations: 8.375 kB / 430.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1484, allocations: 12.12 kB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.1488, allocations: 147.3 kB / 430.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1488, allocations: 0 / 430.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1488, allocations: 3.938 kB / 430.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1488, allocations: 4 kB / 430.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1489, allocations: 35.97 kB / 430.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.1495, allocations: 305.7 kB / 430.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1498, allocations: 158.2 kB / 430.7 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.1498, allocations: 33.8 kB / 430.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1499, allocations: 4 kB / 430.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.15, allocations: 71.28 kB / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.15, allocations: 0 / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003661/0.1504, allocations: 113.7 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.1505, allocations: 89.09 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1506, allocations: 147.8 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1507, allocations: 25.7 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.1507, allocations: 96.12 kB / 431.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1508, allocations: 15.84 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.1508, allocations: 33.66 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.151, allocations: 318.8 kB / 431.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.151, allocations: 20 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.1511, allocations: 61.12 kB / 431.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1513, allocations: 89.02 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1513, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002473/0.1516, allocations: 113.5 kB / 431.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1516, allocations: 11.98 kB / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1516, allocations: 0 / 431.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1516, allocations: 8.156 kB / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.1517, allocations: 8 kB / 432 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1517, allocations: 7.938 kB / 432 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.1517, allocations: 7.922 kB / 432 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1518, allocations: 8 kB / 432 MB, free: 14.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.000116/0.1519, allocations: 122.3 kB / 432.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.152, allocations: 53.64 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.152, allocations: 16.31 kB / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.152, allocations: 0 / 432.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.152, allocations: 12.25 kB / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.152, allocations: 3.984 kB / 432.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.1525, allocations: 342.7 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1525, allocations: 4 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.1525, allocations: 8 kB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1525, allocations: 3.938 kB / 432.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1525, allocations: 11.97 kB / 432.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1525, allocations: 3.938 kB / 432.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1525, allocations: 8 kB / 432.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1528, allocations: 196.3 kB / 432.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.1529, allocations: 100.9 kB / 432.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1529, allocations: 7.984 kB / 432.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.153, allocations: 4 kB / 432.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.153, allocations: 7.938 kB / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.153, allocations: 8 kB / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.1531, allocations: 110.1 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1531, allocations: 0 / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1534, allocations: 19.95 kB / 433 MB, free: 13.62 MB / 366.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.0001482/0.1536, allocations: 103.2 kB / 433.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1538, allocations: 59.91 kB / 433.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1538, allocations: 320 / 433.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.1539, allocations: 27.92 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1542, allocations: 31.89 kB / 433.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.1547, allocations: 208.2 kB / 433.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1551, allocations: 0.7006 MB / 434.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.1551, allocations: 12.42 kB / 434.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.1552, allocations: 15.44 kB / 434.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1552, allocations: 0 / 434.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004006/0.1592, allocations: 0.7997 MB / 435 MB, free: 11.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.291756860911846]