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.0009875/0.0009875, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001287/0.001287, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.372e-06/1.372e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.564e-05, allocations: 2.312 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002112/0.002128, allocations: 1.732 MB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007938/0.002921, allocations: 0.584 MB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.002999, allocations: 8 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.003042, allocations: 7.875 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.003172, allocations: 7.875 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.003418, allocations: 71.72 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.003511, allocations: 63.78 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.003593, allocations: 20.2 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003697, allocations: 47.78 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.003744, allocations: 23.91 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.003758, allocations: 4 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.751e-05/0.003806, allocations: 15.98 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.003843, allocations: 15.94 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.003869, allocations: 23.91 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003984, allocations: 55.81 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003986, allocations: 0 / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003987, allocations: 3.938 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.00399, allocations: 0 / 276.2 MB, free: 14.42 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.0002993/0.004289, allocations: 296.5 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.004319, allocations: 12.03 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.004412, allocations: 16.92 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.004558, allocations: 158.1 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.004566, allocations: 4.375 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.004574, allocations: 8.375 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.004731, allocations: 137.6 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004738, allocations: 3.938 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.004746, allocations: 4 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.00475, allocations: 4 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.438e-05/0.004775, allocations: 11.94 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.004988, allocations: 177 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.005092, allocations: 61.14 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.005114, allocations: 25.8 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005129, allocations: 3.938 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.005182, allocations: 55.39 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.005183, allocations: 7.938 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001041/0.005287, allocations: 65.67 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.005333, allocations: 89.05 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.071e-05/0.005393, allocations: 137.8 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005404, allocations: 29.7 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.005433, allocations: 96.06 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.005449, allocations: 7.953 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.005479, allocations: 37.58 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.005542, allocations: 314.8 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.005554, allocations: 11.98 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.005575, allocations: 22.58 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.005618, allocations: 50.44 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00562, allocations: 0 / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.341e-05/0.005683, allocations: 61.86 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.005693, allocations: 4 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005698, allocations: 4.062 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.005708, allocations: 4 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.29e-05/0.005751, allocations: 11.98 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.005754, allocations: 3.938 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.005776, allocations: 8.062 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.00578, allocations: 4 kB / 278.1 MB, free: 12.3 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 5.936e-05/0.00584, allocations: 128.8 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.00587, allocations: 45.67 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.005895, allocations: 12.47 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.005897, allocations: 0 / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.0059, allocations: 4 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005903, allocations: 0 / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.00605, allocations: 214.6 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006052, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.006077, allocations: 8 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006079, allocations: 8 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.006085, allocations: 3.984 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006087, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.006089, allocations: 3.938 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.659e-05/0.006155, allocations: 156.3 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.006181, allocations: 19.89 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.006195, allocations: 4 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.21e-05/0.006227, allocations: 4 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.006249, allocations: 3.984 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006253, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.157e-05/0.006274, allocations: 32.83 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006274, allocations: 4 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001228/0.006397, allocations: 15.94 kB / 278.8 MB, free: 11.59 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 6.309e-05/0.00646, allocations: 92.28 kB / 278.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.006525, allocations: 32.97 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.006528, allocations: 3.938 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.00655, allocations: 16.98 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.006715, allocations: 32.61 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.007061, allocations: 214.8 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.007096, allocations: 63.34 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.319e-05/0.007119, allocations: 4.734 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.007171, allocations: 63.36 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007171, allocations: 0 / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Templates: time 0.002201/0.009372, allocations: 0.8763 MB / 280.1 MB, free: 10.16 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 -s gbode -gbm=radauIIA3 -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.538767617661506]