Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 80.95 kB / 20.67 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 150.4 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.34e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002381/0.002405, allocations: 1.632 MB / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.003231, allocations: 492.4 kB / 321 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.003318, allocations: 5.156 kB / 321 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.157e-05/0.003369, allocations: 6.297 kB / 321.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.003522, allocations: 16.58 kB / 321.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.003814, allocations: 65.11 kB / 321.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.003936, allocations: 64.47 kB / 321.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.004035, allocations: 22.64 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.004137, allocations: 42.89 kB / 321.3 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.701e-05/0.004194, allocations: 20.7 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.004226, allocations: 4.781 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.004242, allocations: 4.844 kB / 321.3 MB, free: 2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.004294, allocations: 21.31 kB / 321.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.004337, allocations: 22 kB / 321.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.004485, allocations: 84.28 kB / 321.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004488, allocations: 4 kB / 321.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.00449, allocations: 0 / 321.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004494, allocations: 0 / 321.4 MB, free: 1.934 MB / 286.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.0004441/0.004938, allocations: 318.6 kB / 321.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.004976, allocations: 10.73 kB / 321.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.005015, allocations: 14.33 kB / 321.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.00526, allocations: 140.3 kB / 321.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005271, allocations: 11.66 kB / 321.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.005292, allocations: 8.312 kB / 321.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.005582, allocations: 141.2 kB / 322.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005593, allocations: 192 / 322.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005605, allocations: 1.625 kB / 322.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005611, allocations: 5.219 kB / 322.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.005726, allocations: 36.72 kB / 322.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.00611, allocations: 239.8 kB / 322.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.006298, allocations: 72.2 kB / 322.4 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.00637, allocations: 38.72 kB / 322.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.00639, allocations: 7.234 kB / 322.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.957e-05/0.00649, allocations: 62.09 kB / 322.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.006492, allocations: 0 / 322.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003079/0.0068, allocations: 117.3 kB / 322.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.006839, allocations: 83.16 kB / 322.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.006938, allocations: 148.8 kB / 322.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006949, allocations: 26.7 kB / 322.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.006983, allocations: 92.75 kB / 323 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.007004, allocations: 12.69 kB / 323 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.007044, allocations: 26.64 kB / 323 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.007089, allocations: 319.6 kB / 323.3 MB, free: 256 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.007172, allocations: 18.66 kB / 323.3 MB, free: 252 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.007236, allocations: 44.44 kB / 323.4 MB, free: 216 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.007349, allocations: 58.53 kB / 323.4 MB, free: 176 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007351, allocations: 0 / 323.4 MB, free: 176 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001768/0.007528, allocations: 94.17 kB / 323.5 MB, free: 120 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.007545, allocations: 6.438 kB / 323.5 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.007551, allocations: 1.656 kB / 323.5 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.007576, allocations: 5.125 kB / 323.5 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.00765, allocations: 12.58 kB / 323.5 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007655, allocations: 7.938 kB / 323.6 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.007707, allocations: 16.06 kB / 323.6 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.007716, allocations: 2.969 kB / 323.6 MB, free: 92 kB / 286.1 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.0001083/0.007824, allocations: 123.7 kB / 323.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.00791, allocations: 64.09 kB / 323.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.007948, allocations: 12.81 kB / 323.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007952, allocations: 3.781 kB / 323.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007956, allocations: 0 / 323.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.007961, allocations: 0.6094 kB / 323.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.008329, allocations: 289.7 kB / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008331, allocations: 0 / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.008393, allocations: 18.95 kB / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.008396, allocations: 0 / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.008405, allocations: 1.344 kB / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.008408, allocations: 2.062 kB / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008409, allocations: 1.344 kB / 324.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.008666, allocations: 199.7 kB / 324.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.008718, allocations: 23.62 kB / 324.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.008741, allocations: 2.219 kB / 324.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.008823, allocations: 7.562 kB / 324.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.008863, allocations: 3.281 kB / 324.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.008872, allocations: 6.859 kB / 324.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.739e-05/0.00896, allocations: 115.8 kB / 324.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.00896, allocations: 1.281 kB / 324.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.009205, allocations: 14.03 kB / 324.4 MB, free: 15.36 MB / 302.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.0001185/0.009324, allocations: 98.41 kB / 324.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.009515, allocations: 55.23 kB / 324.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009517, allocations: 0 / 324.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.009583, allocations: 23.47 kB / 324.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.009928, allocations: 33.11 kB / 324.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.01035, allocations: 198.3 kB / 324.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.01045, allocations: 89.56 kB / 324.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.01049, allocations: 4.625 kB / 324.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.01053, allocations: 19.33 kB / 325 MB, free: 14.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.01053, allocations: 0 / 325 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003954/0.01449, allocations: 0.8432 MB / 325.8 MB, free: 14.84 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.207814205437899]