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.002068/0.002068, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.002345/0.002345, allocations: 158.3 kB / 24.48 MB, free: 3.465 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.497/1.497, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.002166/0.002166, allocations: 45.67 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.127, allocations: 52.16 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003533/0.1305, allocations: 1.638 MB / 373.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1316, allocations: 486.7 kB / 373.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1317, allocations: 3.938 kB / 373.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.856e-05/0.1317, allocations: 3.938 kB / 373.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1319, allocations: 19.86 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1322, allocations: 51.83 kB / 373.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1324, allocations: 63.78 kB / 373.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1325, allocations: 24.2 kB / 373.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.1326, allocations: 31.86 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.1327, allocations: 23.86 kB / 373.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1327, allocations: 4 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.1327, allocations: 11.94 kB / 373.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.1328, allocations: 23.91 kB / 373.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.1328, allocations: 27.8 kB / 374 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.133, allocations: 83.58 kB / 374.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.133, allocations: 0 / 374.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.133, allocations: 0 / 374.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.133, allocations: 4 kB / 374.1 MB, free: 4.855 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.0006384/0.1337, allocations: 317.9 kB / 374.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1337, allocations: 12.86 kB / 374.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.1338, allocations: 12.89 kB / 374.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1341, allocations: 146.3 kB / 374.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1341, allocations: 8.375 kB / 374.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1341, allocations: 4.375 kB / 374.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.1345, allocations: 141.3 kB / 374.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1345, allocations: 0 / 374.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1345, allocations: 4 kB / 374.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1345, allocations: 0 / 374.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1346, allocations: 35.91 kB / 374.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1351, allocations: 249.2 kB / 375 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1354, allocations: 73.14 kB / 375 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.1354, allocations: 37.78 kB / 375.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.1355, allocations: 15.92 kB / 375.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.1356, allocations: 59.41 kB / 375.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1356, allocations: 0 / 375.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003248/0.1359, allocations: 117.5 kB / 375.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.136, allocations: 89.09 kB / 375.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1362, allocations: 141 kB / 375.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1362, allocations: 33.7 kB / 375.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1362, allocations: 96.12 kB / 375.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1363, allocations: 23.91 kB / 375.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1363, allocations: 29.7 kB / 375.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1365, allocations: 326.8 kB / 376 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.1365, allocations: 16 kB / 376 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.1366, allocations: 65.06 kB / 376.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1368, allocations: 85.08 kB / 376.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1368, allocations: 0 / 376.2 MB, free: 2.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000247/0.137, allocations: 109.5 kB / 376.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1371, allocations: 8 kB / 376.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1371, allocations: 3.984 kB / 376.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1371, allocations: 4 kB / 376.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1372, allocations: 11.94 kB / 376.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1372, allocations: 8.156 kB / 376.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.1372, allocations: 7.984 kB / 376.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1373, allocations: 7.984 kB / 376.3 MB, free: 2.363 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.0001277/0.1374, allocations: 129.7 kB / 376.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.1375, allocations: 61.53 kB / 376.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.1375, allocations: 12.47 kB / 376.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1375, allocations: 0 / 376.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1375, allocations: 4 kB / 376.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1375, allocations: 3.984 kB / 376.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.1379, allocations: 286.4 kB / 376.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1379, allocations: 4.062 kB / 376.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.138, allocations: 11.98 kB / 376.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.138, allocations: 0 / 376.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.138, allocations: 4 kB / 376.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.138, allocations: 0 / 376.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.138, allocations: 0 / 376.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1382, allocations: 208.2 kB / 377 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.1383, allocations: 23.89 kB / 377 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1383, allocations: 3.984 kB / 377 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1384, allocations: 8 kB / 377.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.1384, allocations: 240 / 377.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1384, allocations: 11.98 kB / 377.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.32e-05/0.1385, allocations: 107.2 kB / 377.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1385, allocations: 0 / 377.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1388, allocations: 12 kB / 377.2 MB, free: 1.414 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.0001181/0.1389, allocations: 107.2 kB / 377.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1391, allocations: 67.84 kB / 377.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.1391, allocations: 4.312 kB / 377.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.1391, allocations: 27.92 kB / 377.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1395, allocations: 27.23 kB / 377.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.14, allocations: 204 kB / 377.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.1401, allocations: 89.11 kB / 377.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.224e-05/0.1401, allocations: 8.719 kB / 377.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.1402, allocations: 16.5 kB / 377.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1402, allocations: 0 / 377.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of Templates: time 0.003796/0.1439, allocations: 0.8349 MB / 378.6 MB, free: 15.99 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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: 4.325839859084226]