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.001206/0.001206, allocations: 80.06 kB / 21.43 MB, free: 3.117 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.006078/0.006078, allocations: 138.3 kB / 24.68 MB, free: 9.438 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.8524/0.8524, allocations: 173.4 MB / 201.2 MB, free: 9.398 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.212e-06/1.212e-06, allocations: 0 / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.456e-05, allocations: 6.219 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002269/0.002293, allocations: 1.629 MB / 321.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.002875, allocations: 494.6 kB / 321.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.002945, allocations: 0 / 321.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.002986, allocations: 11.88 kB / 321.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.00311, allocations: 15.84 kB / 321.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.003339, allocations: 55.77 kB / 321.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.003435, allocations: 63.77 kB / 322 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.003525, allocations: 24.14 kB / 322 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.003589, allocations: 43.89 kB / 322 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.003634, allocations: 23.91 kB / 322 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.003656, allocations: 8 kB / 322.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.003666, allocations: 4 kB / 322.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.003712, allocations: 19.91 kB / 322.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.003742, allocations: 19.94 kB / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003849, allocations: 79.69 kB / 322.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003851, allocations: 0 / 322.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003852, allocations: 3.938 kB / 322.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.003855, allocations: 0 / 322.2 MB, free: 3.305 MB / 282.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.0003633/0.004218, allocations: 321.9 kB / 322.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.004248, allocations: 12.92 kB / 322.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.004278, allocations: 8.891 kB / 322.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.004437, allocations: 137.6 kB / 322.7 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.004448, allocations: 12.31 kB / 322.7 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.004458, allocations: 4.375 kB / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.004673, allocations: 149.4 kB / 322.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004681, allocations: 192 / 322.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.004691, allocations: 8.359 kB / 322.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.004696, allocations: 3.938 kB / 322.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.329e-05/0.004759, allocations: 27.98 kB / 322.9 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.005052, allocations: 245.3 kB / 323.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005188, allocations: 69.19 kB / 323.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.005232, allocations: 41.8 kB / 323.2 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.00525, allocations: 7.875 kB / 323.2 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.035e-05/0.005321, allocations: 63.39 kB / 323.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.005322, allocations: 0 / 323.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001989/0.00552, allocations: 117.5 kB / 323.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.005566, allocations: 85.11 kB / 323.5 MB, free: 1.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.00564, allocations: 141.8 kB / 323.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005652, allocations: 29.7 kB / 323.6 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.005688, allocations: 88.14 kB / 323.7 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.005706, allocations: 19.89 kB / 323.7 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.005733, allocations: 25.72 kB / 323.8 MB, free: 1.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.005801, allocations: 322.8 kB / 324.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.005833, allocations: 19.98 kB / 324.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.00587, allocations: 46.5 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.415e-05/0.005934, allocations: 50.56 kB / 324.2 MB, free: 1.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005936, allocations: 256 / 324.2 MB, free: 1.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001012/0.006037, allocations: 105.5 kB / 324.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.006046, allocations: 4 kB / 324.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.00605, allocations: 0 / 324.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006061, allocations: 4 kB / 324.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.006104, allocations: 15.92 kB / 324.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006107, allocations: 0 / 324.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.00613, allocations: 7.938 kB / 324.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006136, allocations: 4 kB / 324.3 MB, free: 0.9258 MB / 282.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 5.985e-05/0.006196, allocations: 124.8 kB / 324.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.006234, allocations: 61.48 kB / 324.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.006257, allocations: 20.52 kB / 324.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006259, allocations: 4.234 kB / 324.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.006263, allocations: 0 / 324.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.006267, allocations: 4.172 kB / 324.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.006449, allocations: 278.3 kB / 324.8 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00645, allocations: 3.938 kB / 324.8 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.006476, allocations: 15.92 kB / 324.8 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006478, allocations: 4 kB / 324.8 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.006484, allocations: 0 / 324.8 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006485, allocations: 0 / 324.8 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006485, allocations: 4 kB / 324.8 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.006602, allocations: 208.2 kB / 325 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.006629, allocations: 23.89 kB / 325.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.006641, allocations: 0 / 325.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.695e-05/0.006678, allocations: 12 kB / 325.1 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.006703, allocations: 3.984 kB / 325.1 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.006709, allocations: 4 kB / 325.1 MB, free: 100 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.486e-05/0.006763, allocations: 110.2 kB / 325.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006763, allocations: 0 / 325.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.006911, allocations: 16 kB / 325.2 MB, free: 15.98 MB / 298.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 6.57e-05/0.006977, allocations: 99.25 kB / 325.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.007086, allocations: 59.97 kB / 325.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.007088, allocations: 4 kB / 325.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.007121, allocations: 24.05 kB / 325.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.007329, allocations: 31.95 kB / 325.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.007586, allocations: 223.8 kB / 325.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.007639, allocations: 85.25 kB / 325.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.007666, allocations: 16.48 kB / 325.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007666, allocations: 0 / 325.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Templates: time 0.001522/0.009187, allocations: 1.061 MB / 326.8 MB, free: 14.33 MB / 298.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: 3.9032603623345494]