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.00227/0.00227, allocations: 95.59 kB / 20.96 MB, free: 3.445 MB / 18.57 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.002773/0.002773, allocations: 156.9 kB / 24.27 MB, free: 148 kB / 18.57 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.574/1.574, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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 1.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.872e-05, allocations: 6.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003236/0.003265, allocations: 1.661 MB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.004839, allocations: 0.5646 MB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.004921, allocations: 3.938 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.00498, allocations: 7.922 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.005111, allocations: 15.86 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.005461, allocations: 63.75 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.005605, allocations: 75.69 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.005707, allocations: 12.23 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.005866, allocations: 51.88 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.005923, allocations: 19.92 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.005944, allocations: 4 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.005998, allocations: 19.92 kB / 274.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.006049, allocations: 15.92 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.006102, allocations: 19.92 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.00629, allocations: 87.62 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.006293, allocations: 0 / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006293, allocations: 0 / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.006298, allocations: 0 / 274.8 MB, free: 15.16 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.0006124/0.006911, allocations: 423.8 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.006951, allocations: 15.98 kB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.00713, allocations: 32.83 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.007368, allocations: 149 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.007384, allocations: 8.375 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.007397, allocations: 4.375 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.007735, allocations: 148.8 kB / 275.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.007747, allocations: 7.938 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.00776, allocations: 4 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.007764, allocations: 0 / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.007871, allocations: 23.98 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.008406, allocations: 311.4 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.008674, allocations: 90.09 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/0.008768, allocations: 47.39 kB / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.008791, allocations: 0 / 276.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.008932, allocations: 77.05 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.008933, allocations: 0 / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003822/0.009315, allocations: 121.4 kB / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.009397, allocations: 81.11 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.009605, allocations: 217.3 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.00963, allocations: 25.7 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.009735, allocations: 146.9 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.00976, allocations: 15.91 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.009825, allocations: 39.31 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002879/0.01011, allocations: 0.4961 MB / 277.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.01017, allocations: 19.94 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.01025, allocations: 51.05 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.01038, allocations: 59.05 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01038, allocations: 0 / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001904/0.01057, allocations: 93.55 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01058, allocations: 4 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.01059, allocations: 0 / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.0106, allocations: 8.062 kB / 277.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.01067, allocations: 8 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01068, allocations: 4 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.01073, allocations: 3.953 kB / 277.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01074, allocations: 4 kB / 277.5 MB, free: 12.19 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.0001464/0.01088, allocations: 168.5 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.01098, allocations: 65.58 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.01101, allocations: 8.469 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01102, allocations: 4 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01102, allocations: 320 / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01102, allocations: 4 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.01145, allocations: 349.3 kB / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01145, allocations: 0 / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.01151, allocations: 11.98 kB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01151, allocations: 0 / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01152, allocations: 4 kB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01152, allocations: 0 / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01152, allocations: 0 / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01183, allocations: 259.6 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.01189, allocations: 24.11 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01191, allocations: 4 kB / 278.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.01198, allocations: 11.94 kB / 278.4 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.01202, allocations: 7.969 kB / 278.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01203, allocations: 7.938 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.01215, allocations: 151.2 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 0 / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.01238, allocations: 16 kB / 278.6 MB, free: 11.04 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.000131/0.01251, allocations: 103.1 kB / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.01272, allocations: 63.69 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01272, allocations: 8.062 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.01279, allocations: 27.67 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.01313, allocations: 29.42 kB / 278.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.01355, allocations: 212.3 kB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.01366, allocations: 85.11 kB / 279.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.0137, allocations: 4.734 kB / 279.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.01374, allocations: 24.48 kB / 279.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01374, allocations: 0 / 279.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of Templates: time 0.003852/0.01759, allocations: 0.8384 MB / 280 MB, free: 9.602 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_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: 4.469350148923695]