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.002026/0.002026, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.00251/0.00251, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 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 1.824e-06/1.824e-06, allocations: 0 / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.029e-05, allocations: 2.312 kB / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003462/0.003492, allocations: 1.65 MB / 274 MB, free: 128 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.0047, allocations: 0.5491 MB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.004785, allocations: 4 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.086e-05/0.004846, allocations: 7.875 kB / 274.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.005005, allocations: 11.86 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.00537, allocations: 67.73 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.00551, allocations: 63.78 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.00563, allocations: 24.2 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.0058, allocations: 47.83 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.005872, allocations: 23.91 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.005902, allocations: 4 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.005948, allocations: 11.94 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.006004, allocations: 19.92 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.006051, allocations: 19.92 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.006246, allocations: 83.69 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006248, allocations: 0 / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006249, allocations: 0 / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006253, allocations: 0 / 274.9 MB, free: 15.18 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.0006138/0.006867, allocations: 329.8 kB / 275.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.006912, allocations: 16.02 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.007096, allocations: 24.83 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.007396, allocations: 146.2 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.00741, allocations: 4.375 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.007424, allocations: 4.375 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.007798, allocations: 156.3 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.007817, allocations: 7.875 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.007828, allocations: 0 / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.007833, allocations: 0 / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.007957, allocations: 31.98 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.008449, allocations: 233.3 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.008697, allocations: 85.12 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.792e-05/0.008795, allocations: 29.8 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.008827, allocations: 8 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.008965, allocations: 63.33 kB / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.008967, allocations: 0 / 276 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003826/0.009349, allocations: 129.4 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.009442, allocations: 81.11 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.009623, allocations: 148.8 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.009649, allocations: 25.7 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.00975, allocations: 104.1 kB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.009774, allocations: 11.91 kB / 276.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.009832, allocations: 29.66 kB / 276.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.01004, allocations: 322.8 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.01011, allocations: 19.98 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-05/0.01019, allocations: 38.5 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.01033, allocations: 58.81 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01033, allocations: 4 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002143/0.01054, allocations: 93.61 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01056, allocations: 4 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01057, allocations: 0 / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.01059, allocations: 4 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.01068, allocations: 15.92 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01068, allocations: 0 / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.01073, allocations: 7.953 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01075, allocations: 4 kB / 277.1 MB, free: 12.77 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 0.0001342/0.01088, allocations: 138 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.01098, allocations: 57.58 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.01101, allocations: 12.47 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01101, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01102, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01102, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.01144, allocations: 290.2 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01144, allocations: 0 / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.01151, allocations: 11.94 kB / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01151, allocations: 0 / 277.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.01153, allocations: 15.98 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01153, allocations: 0 / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01153, allocations: 0 / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.01183, allocations: 204.2 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.01189, allocations: 23.88 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01191, allocations: 4.125 kB / 277.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.01199, allocations: 11.92 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.01204, allocations: 8 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.01205, allocations: 3.938 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.01216, allocations: 114.4 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01216, allocations: 4 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.01241, allocations: 12 kB / 278 MB, free: 11.81 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 0.0001475/0.01255, allocations: 99.25 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.01276, allocations: 55.91 kB / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01276, allocations: 0 / 278.2 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.01283, allocations: 23.92 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.01319, allocations: 25.42 kB / 278.2 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.0137, allocations: 212 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.01383, allocations: 85.11 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.01387, allocations: 4.734 kB / 278.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.01392, allocations: 16.5 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01392, allocations: 7.938 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.004459/0.01838, allocations: 0.8351 MB / 279.4 MB, free: 10.41 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/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.390610685921274]