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.0009136/0.0009136, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009327/0.0009327, allocations: 170.3 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9485/0.9485, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.904e-06/1.904e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.441e-05, allocations: 6.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.005652/0.005676, allocations: 1.704 MB / 275.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.006648, allocations: 0.5723 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.006736, allocations: 11.94 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.006786, allocations: 7.875 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.006914, allocations: 11.86 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.007245, allocations: 71.73 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.009864, allocations: 59.78 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.009957, allocations: 24.2 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.0101, allocations: 39.84 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.01016, allocations: 27.89 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.01018, allocations: 4 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/0.01021, allocations: 8 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.01026, allocations: 31.91 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.01029, allocations: 15.94 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.01044, allocations: 63.72 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01044, allocations: 3.938 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01044, allocations: 0 / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.01044, allocations: 0 / 276.1 MB, free: 14.64 MB / 266.7 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.0003704/0.01081, allocations: 292.5 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01085, allocations: 12.03 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01096, allocations: 20.92 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.01119, allocations: 146.1 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.0112, allocations: 8.375 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.01122, allocations: 4.375 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.01143, allocations: 137.8 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.01144, allocations: 3.938 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.01145, allocations: 4 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.01145, allocations: 4 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.01149, allocations: 15.92 kB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.01176, allocations: 177 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.01189, allocations: 65.14 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.01192, allocations: 17.72 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01194, allocations: 12.02 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/0.01201, allocations: 51.41 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.01201, allocations: 0 / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001401/0.01215, allocations: 77.59 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.01221, allocations: 85.09 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.0123, allocations: 141.6 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.01232, allocations: 29.7 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.01235, allocations: 92.02 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.01237, allocations: 19.88 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.01241, allocations: 29.66 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.01249, allocations: 318.8 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.01251, allocations: 8 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.01254, allocations: 26.56 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.569e-05/0.01259, allocations: 50.42 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01259, allocations: 0 / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.15e-05/0.01268, allocations: 65.92 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.0127, allocations: 4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.0127, allocations: 4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01271, allocations: 0 / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.01277, allocations: 12 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.01277, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.01279, allocations: 3.984 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.0128, allocations: 8.062 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.054e-05/0.01286, allocations: 124.5 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.01289, allocations: 41.69 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.01292, allocations: 16.47 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01292, allocations: 3.984 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.01292, allocations: 0 / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01293, allocations: 4 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.01317, allocations: 206.7 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01317, allocations: 0 / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.0132, allocations: 15.98 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.0132, allocations: 4 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.01321, allocations: 4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01321, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01321, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.64e-05/0.01329, allocations: 164.2 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.01331, allocations: 15.91 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.01333, allocations: 4 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.01336, allocations: 3.984 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.01338, allocations: 8 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.01339, allocations: 0 / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.404e-05/0.01341, allocations: 31.83 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01341, allocations: 4 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.01355, allocations: 23.86 kB / 278.7 MB, free: 11.8 MB / 266.7 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.97e-05/0.01365, allocations: 80.66 kB / 278.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.01373, allocations: 36.78 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01373, allocations: 4 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.465e-05/0.01376, allocations: 13.05 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01394, allocations: 33.53 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.01433, allocations: 210.9 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.01437, allocations: 63.34 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.01439, allocations: 8.719 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.01445, allocations: 59.31 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01445, allocations: 0 / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of Templates: time 0.002336/0.01678, allocations: 0.8826 MB / 280 MB, free: 10.39 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5566477300599217]