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.0007415/0.0007415, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004129/0.004129, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 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 0.8785/0.8785, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.303e-06/1.303e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.176e-05, allocations: 3.125 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001971/0.002002, allocations: 1.667 MB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.002698, allocations: 0.5375 MB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.002771, allocations: 3.938 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.002809, allocations: 3.938 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.002933, allocations: 19.86 kB / 328 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.003198, allocations: 71.67 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.477e-05/0.003292, allocations: 67.77 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.003402, allocations: 12.23 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.003539, allocations: 51.81 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.003595, allocations: 23.92 kB / 328.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.003612, allocations: 4 kB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.00365, allocations: 8 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.0037, allocations: 19.91 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.003737, allocations: 23.92 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.003893, allocations: 83.69 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003896, allocations: 3.938 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.003897, allocations: 0 / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003901, allocations: 0 / 328.4 MB, free: 12.73 MB / 298.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.0003606/0.004262, allocations: 317.9 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.004292, allocations: 15.98 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.004398, allocations: 24.83 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.004587, allocations: 146.2 kB / 328.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004599, allocations: 8.375 kB / 328.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004609, allocations: 4.375 kB / 328.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.004846, allocations: 141.5 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.004861, allocations: 15.91 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.00487, allocations: 0 / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004875, allocations: 4 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.004945, allocations: 27.98 kB / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.005277, allocations: 245.3 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.005427, allocations: 77.12 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.005472, allocations: 33.8 kB / 329.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.005493, allocations: 11.94 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.886e-05/0.005582, allocations: 67.39 kB / 329.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.005583, allocations: 0 / 329.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002014/0.005784, allocations: 121.5 kB / 329.6 MB, free: 11.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.00584, allocations: 81.11 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.005933, allocations: 148.8 kB / 329.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.00595, allocations: 33.7 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.005993, allocations: 84.14 kB / 330 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.006011, allocations: 27.83 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.006045, allocations: 25.67 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.006122, allocations: 322.8 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.00616, allocations: 23.98 kB / 330.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.006199, allocations: 42.5 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.006269, allocations: 50.56 kB / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006271, allocations: 4 kB / 330.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000105/0.006376, allocations: 93.61 kB / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.006388, allocations: 4 kB / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.006393, allocations: 0 / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006404, allocations: 4 kB / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.006449, allocations: 11.92 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.006453, allocations: 0 / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.006476, allocations: 7.953 kB / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.006484, allocations: 8 kB / 330.6 MB, free: 10.32 MB / 298.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.789e-05/0.006552, allocations: 125.8 kB / 330.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.006592, allocations: 49.72 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.00662, allocations: 21 kB / 330.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.006624, allocations: 7.984 kB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006628, allocations: 3.938 kB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.006632, allocations: 4 kB / 330.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.006856, allocations: 278.1 kB / 331.1 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006857, allocations: 4 kB / 331.1 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.006886, allocations: 11.98 kB / 331.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006888, allocations: 3.938 kB / 331.1 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006895, allocations: 4 kB / 331.1 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.006897, allocations: 4 kB / 331.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.006898, allocations: 4 kB / 331.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.007022, allocations: 208.1 kB / 331.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.007054, allocations: 19.94 kB / 331.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.007068, allocations: 288 / 331.3 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.007102, allocations: 4 kB / 331.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.007132, allocations: 11.98 kB / 331.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.007139, allocations: 7.875 kB / 331.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.007188, allocations: 111.2 kB / 331.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007188, allocations: 0 / 331.4 MB, free: 9.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.007335, allocations: 20 kB / 331.5 MB, free: 9.367 MB / 298.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 8.44e-05/0.007419, allocations: 95.25 kB / 331.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.007534, allocations: 55.91 kB / 331.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007535, allocations: 0 / 331.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.007576, allocations: 23.92 kB / 331.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.007814, allocations: 25.14 kB / 331.7 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.008125, allocations: 227.6 kB / 331.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.008188, allocations: 93.23 kB / 332 MB, free: 8.793 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.008218, allocations: 12.5 kB / 332 MB, free: 8.781 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008219, allocations: 0 / 332 MB, free: 8.781 MB / 298.7 MB Notification: Performance of Templates: time 0.001786/0.01, allocations: 1.072 MB / 333.1 MB, free: 7.711 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] 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.172108511440456]