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.0009793/0.0009793, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001138/0.001138, allocations: 145.5 kB / 24.54 MB, free: 36 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.9794/0.9794, 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 1.472e-06/1.472e-06, allocations: 3.938 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.164e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.005789/0.00582, allocations: 1.685 MB / 269.7 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.006711, allocations: 0.4907 MB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.006814, allocations: 7.938 kB / 270.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.981e-05/0.006873, allocations: 11.92 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.007033, allocations: 7.875 kB / 270.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.009233, allocations: 67.67 kB / 270.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.00933, allocations: 63.78 kB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.00944, allocations: 20.16 kB / 270.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.009534, allocations: 43.83 kB / 270.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.009589, allocations: 19.97 kB / 270.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.009611, allocations: 4 kB / 270.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.009623, allocations: 4 kB / 270.4 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.009681, allocations: 27.92 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.00972, allocations: 19.86 kB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.009859, allocations: 55.8 kB / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.009862, allocations: 0 / 270.5 MB, free: 3.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.009864, allocations: 4 kB / 270.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.00987, allocations: 0 / 270.5 MB, free: 3.883 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.0004991/0.01037, allocations: 416.2 kB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01041, allocations: 12.92 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.01046, allocations: 16.89 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.01063, allocations: 152.4 kB / 271.1 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.01064, allocations: 384 / 271.1 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.01065, allocations: 8.375 kB / 271.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.0109, allocations: 149.5 kB / 271.3 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.01091, allocations: 192 / 271.3 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.01093, allocations: 8.375 kB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.01094, allocations: 7.875 kB / 271.3 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.01098, allocations: 15.92 kB / 271.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.01138, allocations: 299.4 kB / 271.6 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.01154, allocations: 82.11 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.01157, allocations: 27.45 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.0116, allocations: 11.94 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/0.01167, allocations: 61 kB / 271.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.01168, allocations: 0 / 271.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001984/0.01187, allocations: 93.75 kB / 271.9 MB, free: 2.371 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.01193, allocations: 81.09 kB / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.01204, allocations: 208.9 kB / 272.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.01205, allocations: 25.7 kB / 272.2 MB, free: 2.023 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.01211, allocations: 138.9 kB / 272.3 MB, free: 1.883 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.01213, allocations: 19.89 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.01216, allocations: 27.38 kB / 272.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01228, allocations: 0.4884 MB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.01231, allocations: 8 kB / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.01234, allocations: 39.05 kB / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.0124, allocations: 51.23 kB / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0124, allocations: 4 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001001/0.0125, allocations: 85.52 kB / 273 MB, free: 1.113 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01251, allocations: 4 kB / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01252, allocations: 0 / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01253, allocations: 4 kB / 273 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.0126, allocations: 7.938 kB / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.0126, allocations: 7.984 kB / 273.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.01263, allocations: 3.938 kB / 273.1 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.01263, allocations: 4 kB / 273.1 MB, free: 1.082 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.742e-05/0.01271, allocations: 167.6 kB / 273.2 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.01276, allocations: 61.53 kB / 273.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.01279, allocations: 12.47 kB / 273.3 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.0128, allocations: 4 kB / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.0128, allocations: 0 / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01281, allocations: 0 / 273.3 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.01306, allocations: 329.4 kB / 273.6 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01306, allocations: 0 / 273.6 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.01311, allocations: 15.92 kB / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01311, allocations: 0 / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01312, allocations: 4 kB / 273.6 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01313, allocations: 7.938 kB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01313, allocations: 4 kB / 273.7 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01327, allocations: 243.4 kB / 273.9 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.0133, allocations: 15.89 kB / 273.9 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.01332, allocations: 8 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.01336, allocations: 0 / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.0134, allocations: 4 kB / 273.9 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.01341, allocations: 4.109 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.087e-05/0.01349, allocations: 147.2 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01349, allocations: 0 / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.01365, allocations: 12 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 0.0001158/0.01377, allocations: 103.2 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.0139, allocations: 55.77 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.0139, allocations: 0 / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.01394, allocations: 15.69 kB / 274.2 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.0002672/0.01421, allocations: 37.36 kB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.01482, allocations: 212.4 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.01488, allocations: 67.47 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.01492, allocations: 7.984 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.01496, allocations: 12.5 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01496, allocations: 0 / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Templates: time 0.003201/0.01816, allocations: 0.843 MB / 275.4 MB, free: 14.58 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: 3.0712043633684516]