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.001338/0.001338, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001514/0.001514, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.001593/0.001593, allocations: 54.61 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.09112, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003039/0.09416, allocations: 1.654 MB / 380.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.09518, allocations: 0.5414 MB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.09524, allocations: 0 / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.09529, allocations: 11.86 kB / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.0954, allocations: 15.86 kB / 381.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.09569, allocations: 71.75 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.09581, allocations: 67.72 kB / 381.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.0959, allocations: 20.2 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.096, allocations: 39.86 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.09606, allocations: 31.78 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.09608, allocations: 4 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.819e-05/0.09612, allocations: 11.98 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.09616, allocations: 19.92 kB / 381.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.0962, allocations: 23.81 kB / 381.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.09635, allocations: 87.58 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.09636, allocations: 4 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09636, allocations: 0 / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.09636, allocations: 0 / 381.5 MB, free: 13.03 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.000466/0.09683, allocations: 321.8 kB / 381.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.09686, allocations: 12.03 kB / 381.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.097, allocations: 20.83 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.09724, allocations: 150.1 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.09725, allocations: 8.375 kB / 382 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.09727, allocations: 20.06 kB / 382 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.09756, allocations: 137 kB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.09757, allocations: 0 / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.09758, allocations: 4 kB / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.09758, allocations: 0 / 382.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.09769, allocations: 31.92 kB / 382.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.09809, allocations: 245.3 kB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.09828, allocations: 81.11 kB / 382.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.09836, allocations: 41.8 kB / 382.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.09838, allocations: 0 / 382.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.0985, allocations: 67.28 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.09851, allocations: 0 / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003002/0.09881, allocations: 121.5 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.09887, allocations: 85.11 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.099, allocations: 149.8 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.09902, allocations: 25.7 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.09908, allocations: 96.12 kB / 383.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.0991, allocations: 11.84 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.09915, allocations: 37.66 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.09929, allocations: 314.8 kB / 383.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.09936, allocations: 19.98 kB / 383.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.09945, allocations: 65.14 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.09961, allocations: 89 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09961, allocations: 0 / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002182/0.09983, allocations: 117.4 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.09984, allocations: 4.156 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.09984, allocations: 4 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.09986, allocations: 4 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.09993, allocations: 11.98 kB / 383.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.09994, allocations: 7.938 kB / 383.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.1, allocations: 7.938 kB / 383.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1, allocations: 8.312 kB / 383.8 MB, free: 10.52 MB / 350.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.0001032/0.1001, allocations: 125.8 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.1002, allocations: 57.64 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1002, allocations: 12.47 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1002, allocations: 0 / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1002, allocations: 8 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1002, allocations: 3.938 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.1006, allocations: 290.1 kB / 384.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1006, allocations: 0 / 384.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.1006, allocations: 8 kB / 384.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1006, allocations: 0 / 384.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1007, allocations: 3.984 kB / 384.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1007, allocations: 7.938 kB / 384.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1007, allocations: 0 / 384.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1009, allocations: 200.5 kB / 384.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.101, allocations: 27.92 kB / 384.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.101, allocations: 8 kB / 384.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1011, allocations: 7.922 kB / 384.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1011, allocations: 7.938 kB / 384.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1011, allocations: 0 / 384.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.1012, allocations: 118.2 kB / 384.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1012, allocations: 0 / 384.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1014, allocations: 15.95 kB / 384.7 MB, free: 9.559 MB / 350.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 9.788e-05/0.1015, allocations: 103.2 kB / 384.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1017, allocations: 67.91 kB / 384.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1017, allocations: 0 / 384.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.1018, allocations: 15.94 kB / 384.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1021, allocations: 32.03 kB / 384.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.1025, allocations: 208.5 kB / 385.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.603e-05/0.1026, allocations: 89.42 kB / 385.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.1026, allocations: 8.484 kB / 385.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1027, allocations: 20.44 kB / 385.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1027, allocations: 0 / 385.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Templates: time 0.003473/0.1061, allocations: 0.8486 MB / 386 MB, free: 8.133 MB / 350.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 -s ida -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: 4.154374738922343]