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.001482/0.001482, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001698/0.001698, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.73/1.73, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001472/0.001472, allocations: 47.94 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.423, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.004928/0.4279, allocations: 1.648 MB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.4295, allocations: 0.5454 MB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.4296, allocations: 0 / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.313e-05/0.4297, allocations: 11.86 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.4299, allocations: 15.86 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.4304, allocations: 67.81 kB / 434.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.4306, allocations: 67.77 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.4308, allocations: 15.19 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.431, allocations: 47.77 kB / 434.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.4311, allocations: 27.86 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.4311, allocations: 4 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.4311, allocations: 12 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.4312, allocations: 23.91 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.4313, allocations: 27.8 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4315, allocations: 83.31 kB / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4315, allocations: 0 / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4315, allocations: 0 / 434.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.4315, allocations: 7.922 kB / 434.9 MB, free: 4.09 MB / 334.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.0007412/0.4323, allocations: 325.9 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4323, allocations: 8.031 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4326, allocations: 24.78 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.433, allocations: 146.9 kB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.433, allocations: 4.375 kB / 435.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.433, allocations: 12.12 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.4334, allocations: 137 kB / 435.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4335, allocations: 3.938 kB / 435.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.4335, allocations: 8 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4335, allocations: 0 / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.4336, allocations: 31.97 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.4342, allocations: 249.2 kB / 435.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.4345, allocations: 65.2 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.4346, allocations: 41.8 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4346, allocations: 0 / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.4348, allocations: 71.28 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.4348, allocations: 0 / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003871/0.4352, allocations: 117.5 kB / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4353, allocations: 89.03 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.4355, allocations: 152.7 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4355, allocations: 25.7 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4356, allocations: 100.1 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4356, allocations: 15.91 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.4357, allocations: 33.66 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4359, allocations: 318.8 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.436, allocations: 16.25 kB / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.4361, allocations: 69.12 kB / 437 MB, free: 1.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.4363, allocations: 93.02 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4363, allocations: 0 / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002633/0.4366, allocations: 109.5 kB / 437.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4366, allocations: 7.984 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4366, allocations: 4 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4367, allocations: 0 / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4368, allocations: 12 kB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4368, allocations: 4.156 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.4368, allocations: 15.92 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4369, allocations: 7.938 kB / 437.2 MB, free: 1.578 MB / 334.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.0001885/0.4371, allocations: 130 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/0.4371, allocations: 53.64 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.4372, allocations: 12.41 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4372, allocations: 0 / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4372, allocations: 3.984 kB / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4372, allocations: 7.938 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.4377, allocations: 282.1 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4377, allocations: 7.938 kB / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.4378, allocations: 11.98 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.4378, allocations: 0 / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.4378, allocations: 7.938 kB / 437.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/0.4378, allocations: 3.938 kB / 437.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4378, allocations: 4.062 kB / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.4382, allocations: 204.4 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.4383, allocations: 19.88 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.4383, allocations: 4 kB / 437.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.4384, allocations: 7.938 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.4384, allocations: 8 kB / 438 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4385, allocations: 7.984 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.4386, allocations: 104.8 kB / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4386, allocations: 0 / 438.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4389, allocations: 19.95 kB / 438.1 MB, free: 0.6211 MB / 334.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.0002103/0.4391, allocations: 103.2 kB / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.4393, allocations: 59.91 kB / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4393, allocations: 4.312 kB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.4394, allocations: 23.92 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.4399, allocations: 28 kB / 438.3 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.4405, allocations: 216.5 kB / 438.5 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.4407, allocations: 84.98 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.994e-05/0.4408, allocations: 8.422 kB / 438.6 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.4408, allocations: 15.44 kB / 438.6 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4408, allocations: 4 kB / 438.6 MB, free: 28 kB / 334.1 MB Notification: Performance of Templates: time 0.005454/0.4463, allocations: 0.9031 MB / 439.5 MB, free: 15.14 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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.280732689003344]