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.001075/0.001075, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001074/0.001074, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9387/0.9387, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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 1.823e-06/1.823e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.831e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002596/0.002624, allocations: 1.703 MB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.003428, allocations: 0.5725 MB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.003508, allocations: 3.938 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.003558, allocations: 3.938 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.003736, allocations: 15.86 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.004032, allocations: 67.73 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.004138, allocations: 63.78 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.004254, allocations: 20.14 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.004385, allocations: 55.77 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.004438, allocations: 19.97 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004456, allocations: 8 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.004498, allocations: 8 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.004551, allocations: 27.84 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.004625, allocations: 15.94 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004795, allocations: 63.78 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004799, allocations: 0 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0048, allocations: 0 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.004806, allocations: 3.938 kB / 275.6 MB, free: 14.84 MB / 266.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.00047/0.005276, allocations: 424.2 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.005313, allocations: 8.031 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.005448, allocations: 24.84 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.005638, allocations: 149 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.005649, allocations: 8.312 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.005663, allocations: 8.375 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.005928, allocations: 149.5 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.005937, allocations: 3.938 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005949, allocations: 11.98 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005957, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.005999, allocations: 8 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.006418, allocations: 307.3 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.006583, allocations: 82.09 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.006619, allocations: 27.38 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.006638, allocations: 7.938 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.326e-05/0.006712, allocations: 61.14 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 3.377e-06/0.006715, allocations: 7.984 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001933/0.006908, allocations: 93.75 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.006964, allocations: 85.11 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.007063, allocations: 200.9 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007075, allocations: 25.7 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.007129, allocations: 142.8 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.007147, allocations: 7.938 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.007185, allocations: 35.33 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.007311, allocations: 0.4961 MB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.007332, allocations: 4.062 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.007366, allocations: 46.98 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.007421, allocations: 47.06 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.007423, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.989e-05/0.007522, allocations: 81.56 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.00754, allocations: 10.5 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007545, allocations: 3.938 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.007558, allocations: 0 / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.007616, allocations: 8 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.007623, allocations: 3.984 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.007646, allocations: 8.062 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.007654, allocations: 3.984 kB / 278.2 MB, free: 12.02 MB / 266.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 8.037e-05/0.007734, allocations: 164.5 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.007783, allocations: 57.58 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.007815, allocations: 12.47 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007817, allocations: 3.938 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.007822, allocations: 4 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007825, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.008054, allocations: 333.4 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008055, allocations: 0 / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.008087, allocations: 15.94 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.00809, allocations: 4 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.008101, allocations: 7.984 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008103, allocations: 128 / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.008105, allocations: 4 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.008242, allocations: 243.4 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.913e-05/0.008271, allocations: 11.95 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.008293, allocations: 7.984 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.008326, allocations: 4 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.008357, allocations: 0 / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.008365, allocations: 7.938 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.008451, allocations: 155.2 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008451, allocations: 0 / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000152/0.008603, allocations: 8 kB / 279.2 MB, free: 10.91 MB / 266.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 9.054e-05/0.008693, allocations: 107.5 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.008799, allocations: 47.59 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008801, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.00883, allocations: 19.62 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.009089, allocations: 28.23 kB / 279.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.0096, allocations: 216.5 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.009649, allocations: 63.34 kB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.009682, allocations: 8.719 kB / 279.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.009718, allocations: 12.5 kB / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009719, allocations: 0 / 279.7 MB, free: 10.35 MB / 266.7 MB Notification: Performance of Templates: time 0.00288/0.0126, allocations: 0.8784 MB / 280.6 MB, free: 9.488 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] 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","",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.6570475939661264]