Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001905/0.001905, allocations: 109.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002495/0.002495, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1115, allocations: 53.32 MB / 427.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002981/0.1145, allocations: 1.655 MB / 429.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1155, allocations: 0.5805 MB / 430.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.1156, allocations: 0 / 430.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.1157, allocations: 11.88 kB / 430.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1158, allocations: 15.86 kB / 430.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1161, allocations: 71.73 kB / 430.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1162, allocations: 63.78 kB / 430.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1164, allocations: 20.22 kB / 430.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1165, allocations: 39.78 kB / 430.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.1166, allocations: 31.8 kB / 430.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1166, allocations: 4 kB / 430.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.1166, allocations: 16 kB / 430.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.1167, allocations: 19.91 kB / 430.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.1167, allocations: 39.73 kB / 430.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1169, allocations: 83.52 kB / 430.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1169, allocations: 0 / 430.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1169, allocations: 7.938 kB / 430.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1169, allocations: 0 / 430.5 MB, free: 1.809 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.0005494/0.1175, allocations: 399 kB / 430.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1175, allocations: 8.031 kB / 430.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1177, allocations: 24.83 kB / 430.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1179, allocations: 200.8 kB / 431.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1179, allocations: 4.375 kB / 431.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.118, allocations: 12.12 kB / 431.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1183, allocations: 144.9 kB / 431.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1183, allocations: 3.984 kB / 431.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1183, allocations: 8 kB / 431.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1183, allocations: 0 / 431.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1184, allocations: 23.98 kB / 431.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.1189, allocations: 313.6 kB / 431.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1191, allocations: 142.3 kB / 431.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.1192, allocations: 41.8 kB / 431.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1192, allocations: 0 / 431.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.1194, allocations: 75.34 kB / 431.9 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1194, allocations: 0 / 431.9 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003151/0.1197, allocations: 117.5 kB / 432 MB, free: 108 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.1198, allocations: 85.09 kB / 432.1 MB, free: 4 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1199, allocations: 148.6 kB / 432.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1199, allocations: 33.64 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.12, allocations: 92.12 kB / 432.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.12, allocations: 15.91 kB / 432.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.1201, allocations: 29.66 kB / 432.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1203, allocations: 322.8 kB / 432.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.1203, allocations: 23.98 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.1204, allocations: 61.14 kB / 432.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1206, allocations: 93.27 kB / 432.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1206, allocations: 0 / 432.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002306/0.1208, allocations: 109.5 kB / 433 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1208, allocations: 8 kB / 433 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1208, allocations: 0 / 433 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1209, allocations: 7.938 kB / 433 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.1209, allocations: 12.16 kB / 433 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1209, allocations: 7.938 kB / 433 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.121, allocations: 19.86 kB / 433 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.121, allocations: 4 kB / 433 MB, free: 14.96 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.0001034/0.1211, allocations: 121.8 kB / 433.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.1212, allocations: 53.64 kB / 433.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.1212, allocations: 8.312 kB / 433.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1212, allocations: 8.219 kB / 433.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1213, allocations: 3.938 kB / 433.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1213, allocations: 7.984 kB / 433.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1217, allocations: 346.5 kB / 433.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1217, allocations: 0 / 433.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.1217, allocations: 11.98 kB / 433.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1217, allocations: 3.938 kB / 433.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1217, allocations: 0 / 433.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1218, allocations: 7.938 kB / 433.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1218, allocations: 3.938 kB / 433.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.122, allocations: 200.3 kB / 433.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.1221, allocations: 105 kB / 433.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1221, allocations: 8.125 kB / 433.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.1222, allocations: 4 kB / 433.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1222, allocations: 0 / 433.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1222, allocations: 7.984 kB / 433.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.1223, allocations: 110.3 kB / 434 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1223, allocations: 4 kB / 434 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1226, allocations: 15.95 kB / 434 MB, free: 13.84 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.0001237/0.1227, allocations: 107.2 kB / 434.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1229, allocations: 59.91 kB / 434.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1229, allocations: 0 / 434.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.123, allocations: 24.23 kB / 434.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1233, allocations: 39.91 kB / 434.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1238, allocations: 233.9 kB / 434.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1241, allocations: 0.6963 MB / 435.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.1242, allocations: 19.42 kB / 435.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1242, allocations: 0 / 435.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.002829/0.127, allocations: 1.067 MB / 436.3 MB, free: 11.53 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.044750289991498]