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.001456/0.001456, allocations: 115.9 kB / 18.4 MB, free: 4.637 MB / 14.72 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.001485/0.001485, allocations: 189.3 kB / 21.35 MB, free: 1.699 MB / 14.72 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.483/1.483, allocations: 222.9 MB / 247.1 MB, free: 4.191 MB / 190.1 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 0.001647/0.001647, allocations: 51.91 kB / 358.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1254, allocations: 49.44 MB / 408.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003414/0.1289, allocations: 1.621 MB / 409.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1299, allocations: 0.5103 MB / 410.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.13, allocations: 4 kB / 410.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.121e-05/0.1301, allocations: 11.86 kB / 410.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1303, allocations: 15.88 kB / 410.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1306, allocations: 55.75 kB / 410.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1307, allocations: 63.89 kB / 410.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1309, allocations: 20.22 kB / 410.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.1309, allocations: 35.8 kB / 410.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.426e-05/0.131, allocations: 27.84 kB / 410.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.1311, allocations: 12 kB / 410.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.1311, allocations: 4 kB / 410.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1312, allocations: 15.92 kB / 410.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.1312, allocations: 43.67 kB / 410.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1314, allocations: 79.59 kB / 410.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1314, allocations: 0 / 410.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1314, allocations: 0 / 410.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1314, allocations: 0 / 410.6 MB, free: 4.383 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.0006156/0.1321, allocations: 402.9 kB / 411 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1321, allocations: 12.03 kB / 411 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1322, allocations: 12.89 kB / 411 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1325, allocations: 204.2 kB / 411.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1325, allocations: 4.375 kB / 411.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1325, allocations: 8.375 kB / 411.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1329, allocations: 139.7 kB / 411.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1329, allocations: 0 / 411.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1329, allocations: 7.938 kB / 411.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1329, allocations: 3.984 kB / 411.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.133, allocations: 31.97 kB / 411.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.1336, allocations: 313.6 kB / 411.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1339, allocations: 154.2 kB / 411.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/0.134, allocations: 33.8 kB / 411.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.134, allocations: 0 / 411.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.1342, allocations: 75.41 kB / 412 MB, free: 2.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.1342, allocations: 4 kB / 412 MB, free: 2.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000339/0.1345, allocations: 113.5 kB / 412.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.1346, allocations: 89.09 kB / 412.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1348, allocations: 144.9 kB / 412.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.1348, allocations: 29.7 kB / 412.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1349, allocations: 96.14 kB / 412.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1349, allocations: 15.91 kB / 412.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.135, allocations: 29.7 kB / 412.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1352, allocations: 322.8 kB / 412.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.1352, allocations: 27.92 kB / 412.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.1353, allocations: 61.14 kB / 412.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1355, allocations: 85.02 kB / 413 MB, free: 1.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1355, allocations: 0 / 413 MB, free: 1.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002184/0.1357, allocations: 117.5 kB / 413.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1358, allocations: 4 kB / 413.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1358, allocations: 0 / 413.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1358, allocations: 4 kB / 413.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.1359, allocations: 11.98 kB / 413.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.1359, allocations: 4 kB / 413.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.136, allocations: 8.156 kB / 413.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.136, allocations: 11.94 kB / 413.2 MB, free: 1.547 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.0001272/0.1361, allocations: 137.6 kB / 413.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.1362, allocations: 57.59 kB / 413.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1362, allocations: 12.3 kB / 413.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.1362, allocations: 4 kB / 413.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1363, allocations: 0 / 413.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1363, allocations: 240 / 413.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.1367, allocations: 350.8 kB / 413.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1367, allocations: 64 / 413.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.1368, allocations: 19.97 kB / 413.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1368, allocations: 0 / 413.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1368, allocations: 0 / 413.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1368, allocations: 4 kB / 413.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1368, allocations: 3.938 kB / 413.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1371, allocations: 196.3 kB / 413.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.1372, allocations: 101 kB / 414 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1372, allocations: 8 kB / 414 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.1373, allocations: 0 / 414 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.1374, allocations: 15.86 kB / 414 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1374, allocations: 4 kB / 414 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.1375, allocations: 105.7 kB / 414.2 MB, free: 448 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 3.938 kB / 414.2 MB, free: 444 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1377, allocations: 16 kB / 414.2 MB, free: 428 kB / 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.0001305/0.1379, allocations: 107.2 kB / 414.3 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1381, allocations: 63.91 kB / 414.3 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1381, allocations: 0 / 414.3 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.1382, allocations: 27.92 kB / 414.4 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1385, allocations: 25.33 kB / 414.4 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.139, allocations: 233.9 kB / 414.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1393, allocations: 0.7046 MB / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.1394, allocations: 19.36 kB / 415.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1394, allocations: 0 / 415.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003029/0.1424, allocations: 1.053 MB / 416.4 MB, free: 14.13 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.052671954035759]