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.001826/0.001826, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00221/0.00221, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 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 0.00152/0.00152, allocations: 51.92 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 53.34 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002887/0.2384, allocations: 1.664 MB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2394, allocations: 0.5337 MB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.2394, allocations: 7.938 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.15e-05/0.2395, allocations: 7.922 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2396, allocations: 7.875 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2399, allocations: 79.73 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2401, allocations: 63.78 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.2402, allocations: 16.22 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2403, allocations: 31.91 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.542e-05/0.2403, allocations: 35.78 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2404, allocations: 4 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.131e-05/0.2404, allocations: 12 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.2405, allocations: 23.92 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.2405, allocations: 31.8 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2407, allocations: 81.27 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2407, allocations: 0 / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2407, allocations: 4 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2407, allocations: 0 / 434.9 MB, free: 4.117 MB / 334.1 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.0004879/0.2411, allocations: 325.8 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2412, allocations: 12.02 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.2413, allocations: 24.84 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2416, allocations: 141.2 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.2416, allocations: 8.312 kB / 435.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2416, allocations: 12.12 kB / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.2419, allocations: 147.7 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2419, allocations: 3.938 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2419, allocations: 4 kB / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2419, allocations: 0 / 435.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.242, allocations: 27.98 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.2425, allocations: 249.2 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2427, allocations: 69.19 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.2427, allocations: 41.73 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2427, allocations: 0 / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.2429, allocations: 71.34 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.2429, allocations: 0 / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003038/0.2432, allocations: 113.5 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.2432, allocations: 81.11 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2434, allocations: 160.5 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2434, allocations: 25.7 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.2434, allocations: 96.12 kB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.2435, allocations: 19.97 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.2435, allocations: 33.66 kB / 436.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2436, allocations: 318.8 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.2437, allocations: 19.98 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.2438, allocations: 72.94 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.244, allocations: 93.33 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.244, allocations: 0 / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002166/0.2442, allocations: 109.5 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2442, allocations: 4 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2442, allocations: 4.156 kB / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2442, allocations: 4.188 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.2443, allocations: 19.92 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2443, allocations: 0 / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.2444, allocations: 11.94 kB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2444, allocations: 7.984 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001081/0.2445, allocations: 133.7 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.2445, allocations: 57.58 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.2446, allocations: 12.41 kB / 437.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2446, allocations: 0 / 437.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.2446, allocations: 4 kB / 437.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2446, allocations: 7.938 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.2449, allocations: 282.2 kB / 437.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2449, allocations: 0 / 437.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.245, allocations: 15.92 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.245, allocations: 0 / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.245, allocations: 4 kB / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.245, allocations: 3.938 kB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.245, allocations: 3.938 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.2453, allocations: 200.3 kB / 437.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.2453, allocations: 23.94 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2453, allocations: 3.984 kB / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.2454, allocations: 8.062 kB / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2454, allocations: 4 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.2454, allocations: 8 kB / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.2455, allocations: 107.2 kB / 438.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2455, allocations: 0 / 438.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.2458, allocations: 19.95 kB / 438.1 MB, free: 0.6406 MB / 334.1 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.633e-05/0.2459, allocations: 106.4 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.2461, allocations: 67.84 kB / 438.3 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2461, allocations: 3.938 kB / 438.3 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.535e-05/0.2461, allocations: 19.98 kB / 438.3 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2464, allocations: 27.77 kB / 438.3 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.2468, allocations: 216.5 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.251e-05/0.2469, allocations: 85.3 kB / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.52e-05/0.2469, allocations: 16.59 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.247, allocations: 15.44 kB / 438.6 MB, free: 44 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.247, allocations: 0 / 438.6 MB, free: 44 kB / 334.1 MB Notification: Performance of Templates: time 0.003436/0.2504, allocations: 0.8933 MB / 439.5 MB, free: 15.17 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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.246740868999041]