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.001563/0.001563, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001405/0.001405, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001529/0.001529, allocations: 47.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002892/0.2522, allocations: 1.672 MB / 434.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.2533, allocations: 0.592 MB / 434.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.2534, allocations: 3.938 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.958e-05/0.2534, allocations: 11.86 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.2536, allocations: 11.88 kB / 434.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.2539, allocations: 67.81 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.254, allocations: 63.77 kB / 434.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2541, allocations: 20.22 kB / 434.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2542, allocations: 31.86 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.2543, allocations: 39.77 kB / 434.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2543, allocations: 4 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.2544, allocations: 16 kB / 434.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.2544, allocations: 19.92 kB / 434.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.2545, allocations: 39.73 kB / 435 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2547, allocations: 76.92 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2547, allocations: 0 / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2547, allocations: 0 / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2547, allocations: 0 / 435.1 MB, free: 4.25 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.0005064/0.2552, allocations: 325.8 kB / 435.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2552, allocations: 8.031 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2553, allocations: 28.83 kB / 435.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.2556, allocations: 146.9 kB / 435.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.2556, allocations: 384 / 435.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2556, allocations: 16.12 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.2559, allocations: 139.7 kB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2559, allocations: 0 / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2559, allocations: 7.938 kB / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2559, allocations: 0 / 435.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.256, allocations: 35.91 kB / 435.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.2566, allocations: 280.7 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2568, allocations: 73.12 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.2568, allocations: 33.8 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2569, allocations: 4 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.257, allocations: 75.28 kB / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.257, allocations: 0 / 436.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003058/0.2573, allocations: 117.5 kB / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.2574, allocations: 81.11 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.2575, allocations: 155.8 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2575, allocations: 25.7 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.2576, allocations: 100.1 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2576, allocations: 11.91 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.2577, allocations: 33.66 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2578, allocations: 314.8 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.2579, allocations: 28.17 kB / 437.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.258, allocations: 61.14 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.2581, allocations: 93 kB / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2581, allocations: 0 / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002121/0.2583, allocations: 117.5 kB / 437.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2583, allocations: 4 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2583, allocations: 4 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2584, allocations: 0 / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.2584, allocations: 15.98 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2584, allocations: 3.938 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.2585, allocations: 8 kB / 437.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2585, allocations: 8.156 kB / 437.4 MB, free: 1.691 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.0001124/0.2586, allocations: 135.1 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.2587, allocations: 57.64 kB / 437.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.2587, allocations: 12.41 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2587, allocations: 0 / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2587, allocations: 3.938 kB / 437.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2587, allocations: 4 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.2591, allocations: 317.6 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2591, allocations: 8 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.2592, allocations: 7.984 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2592, allocations: 7.938 kB / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2592, allocations: 0 / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2592, allocations: 0 / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2592, allocations: 128 / 437.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.2594, allocations: 208.3 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.2595, allocations: 19.88 kB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2595, allocations: 8 kB / 438.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.2596, allocations: 0 / 438.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.2596, allocations: 11.92 kB / 438.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2596, allocations: 4 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.009e-05/0.2597, allocations: 113.5 kB / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2597, allocations: 0 / 438.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.2599, allocations: 15.95 kB / 438.3 MB, free: 0.6914 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 0.0001218/0.2601, allocations: 107.5 kB / 438.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2603, allocations: 63.94 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2603, allocations: 0 / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.2603, allocations: 23.92 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2607, allocations: 35.3 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.2611, allocations: 238.6 kB / 438.7 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.2615, allocations: 0.7041 MB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.2616, allocations: 11.44 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2616, allocations: 3.938 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Templates: time 0.002837/0.2644, allocations: 1.068 MB / 440.5 MB, free: 14.38 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 -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: 6.529308208962902]