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.001331/0.001331, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001513/0.001513, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.611/1.611, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001523/0.001523, allocations: 47.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 53.32 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003205/0.1235, allocations: 1.661 MB / 429.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1246, allocations: 0.5843 MB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.1247, allocations: 4 kB / 429.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.009e-05/0.1248, allocations: 7.875 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.125, allocations: 15.86 kB / 429.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.1253, allocations: 63.8 kB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1255, allocations: 67.78 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1256, allocations: 16.22 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1258, allocations: 43.78 kB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.1258, allocations: 23.86 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1258, allocations: 4 kB / 430 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.041e-05/0.1259, allocations: 20 kB / 430 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.126, allocations: 15.92 kB / 430 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.126, allocations: 43.72 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1262, allocations: 83.58 kB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1262, allocations: 3.938 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1262, allocations: 0 / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1262, allocations: 4 kB / 430.1 MB, free: 1.605 MB / 350.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.0007044/0.1269, allocations: 395 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.127, allocations: 8.031 kB / 430.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.1271, allocations: 28.83 kB / 430.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.1275, allocations: 200.8 kB / 430.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1275, allocations: 4.375 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1275, allocations: 12.12 kB / 430.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.1278, allocations: 144.9 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1279, allocations: 3.938 kB / 430.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1279, allocations: 4 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1279, allocations: 0 / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.128, allocations: 27.98 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1285, allocations: 309.6 kB / 431.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.1289, allocations: 142.3 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.129, allocations: 37.8 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.129, allocations: 0 / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.1292, allocations: 75.28 kB / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.1292, allocations: 0 / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003667/0.1295, allocations: 117.5 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.1296, allocations: 85.03 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1298, allocations: 148 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1298, allocations: 25.7 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.1298, allocations: 100.1 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1299, allocations: 23.91 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.1299, allocations: 33.66 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1301, allocations: 322.8 kB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.1302, allocations: 19.98 kB / 432.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.1303, allocations: 65.08 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1304, allocations: 81.02 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1304, allocations: 4 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002227/0.1306, allocations: 117.7 kB / 432.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1307, allocations: 8 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1307, allocations: 192 / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1307, allocations: 4 kB / 432.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1308, allocations: 8 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1308, allocations: 15.91 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.1308, allocations: 15.92 kB / 432.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1309, allocations: 4.156 kB / 432.7 MB, free: 14.76 MB / 366.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.0001194/0.131, allocations: 129.8 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.33e-05/0.131, allocations: 49.64 kB / 432.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.1311, allocations: 16.3 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1311, allocations: 4 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1311, allocations: 3.938 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1311, allocations: 0 / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1315, allocations: 346.5 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1315, allocations: 4 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.1316, allocations: 11.98 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1316, allocations: 3.938 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1316, allocations: 0 / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1316, allocations: 4 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1316, allocations: 3.938 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1318, allocations: 200.3 kB / 433.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.1319, allocations: 104.9 kB / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.132, allocations: 7.938 kB / 433.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.132, allocations: 4 kB / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1321, allocations: 96 / 433.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1321, allocations: 11.92 kB / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.255e-05/0.1322, allocations: 110.3 kB / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1322, allocations: 0 / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1324, allocations: 15.95 kB / 433.7 MB, free: 13.63 MB / 366.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.0001437/0.1326, allocations: 111.2 kB / 433.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1328, allocations: 60.03 kB / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1328, allocations: 0 / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.1328, allocations: 24.05 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1332, allocations: 46.19 kB / 433.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.1336, allocations: 230.2 kB / 434.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.134, allocations: 0.7007 MB / 434.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.1341, allocations: 15.42 kB / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1341, allocations: 0 / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.003142/0.1372, allocations: 1.069 MB / 435.9 MB, free: 11.32 MB / 366.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 -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: 7.482702260982478]