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.0009389/0.0009389, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009356/0.0009356, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9796/0.9796, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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 2.395e-06/2.395e-06, allocations: 3.938 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.429e-05, allocations: 6.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003116/0.003151, allocations: 1.681 MB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.004043, allocations: 0.4907 MB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.004136, allocations: 7.938 kB / 270.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.004192, allocations: 7.922 kB / 270.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.004352, allocations: 15.88 kB / 270.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.004625, allocations: 55.75 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.004736, allocations: 63.77 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004838, allocations: 20.17 kB / 270.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.004929, allocations: 51.81 kB / 270.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.004979, allocations: 11.92 kB / 270.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.005002, allocations: 8 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.005014, allocations: 4 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.005063, allocations: 23.91 kB / 270.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.005108, allocations: 19.92 kB / 270.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.005515, allocations: 63.73 kB / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005518, allocations: 0 / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.00552, allocations: 0 / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005525, allocations: 0 / 270.5 MB, free: 3.887 MB / 250.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.0004126/0.005937, allocations: 416.2 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.005979, allocations: 12.91 kB / 270.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.006025, allocations: 20.89 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.006192, allocations: 140.4 kB / 271.1 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.006202, allocations: 4.375 kB / 271.1 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.006214, allocations: 12.38 kB / 271.1 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.006461, allocations: 153.5 kB / 271.3 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.006468, allocations: 192 / 271.3 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006481, allocations: 4.375 kB / 271.3 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.006491, allocations: 7.938 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.244e-05/0.006534, allocations: 15.92 kB / 271.3 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.006972, allocations: 291.4 kB / 271.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.007167, allocations: 90.09 kB / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.00721, allocations: 31.38 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.007233, allocations: 8.016 kB / 271.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.113e-05/0.007324, allocations: 61 kB / 271.8 MB, free: 2.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.007326, allocations: 4 kB / 271.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000209/0.007535, allocations: 89.56 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.007593, allocations: 85.05 kB / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.007691, allocations: 204.9 kB / 272.1 MB, free: 2.059 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.007704, allocations: 29.7 kB / 272.2 MB, free: 2.023 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.00775, allocations: 138.9 kB / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.00777, allocations: 19.89 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.0078, allocations: 23.38 kB / 272.4 MB, free: 1.832 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.007904, allocations: 0.4923 MB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.007925, allocations: 4 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.007958, allocations: 43.05 kB / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.008014, allocations: 47.25 kB / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.008017, allocations: 4 kB / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001065/0.008124, allocations: 89.5 kB / 273 MB, free: 1.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.008142, allocations: 4 kB / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008147, allocations: 0 / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008161, allocations: 0 / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.037e-05/0.008221, allocations: 11.94 kB / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.008226, allocations: 0 / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.008249, allocations: 7.938 kB / 273.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.008259, allocations: 11.98 kB / 273.1 MB, free: 1.078 MB / 250.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 7.81e-05/0.008337, allocations: 160 kB / 273.2 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.008387, allocations: 61.72 kB / 273.3 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.008417, allocations: 20.56 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.00842, allocations: 4 kB / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008424, allocations: 0 / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.008429, allocations: 0 / 273.3 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.008648, allocations: 321.3 kB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.00865, allocations: 4 kB / 273.6 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.008692, allocations: 8 kB / 273.6 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.008695, allocations: 4 kB / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.008704, allocations: 3.984 kB / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.008706, allocations: 3.938 kB / 273.6 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.008708, allocations: 0 / 273.6 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.008838, allocations: 247.5 kB / 273.9 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.008868, allocations: 19.89 kB / 273.9 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.008893, allocations: 7.984 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.428e-05/0.008927, allocations: 4 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.008964, allocations: 3.938 kB / 273.9 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.008971, allocations: 4.125 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.00905, allocations: 151.2 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.00905, allocations: 0 / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001508/0.009201, allocations: 8 kB / 274.1 MB, free: 15.98 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 9.065e-05/0.009292, allocations: 107.2 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.009406, allocations: 51.81 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009408, allocations: 4 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.009437, allocations: 15.69 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.009703, allocations: 33.3 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.01032, allocations: 204.4 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.318e-05/0.01038, allocations: 67.34 kB / 274.5 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.01041, allocations: 12.11 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.01045, allocations: 16.5 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01045, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002977/0.01343, allocations: 0.8675 MB / 275.4 MB, free: 14.55 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7964150570333004]