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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 108.7 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 192 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 35.94 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4026, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003466/0.4061, allocations: 1.642 MB / 402.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4073, allocations: 0.4947 MB / 402.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.4075, allocations: 7.938 kB / 402.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.152e-05/0.4076, allocations: 3.938 kB / 402.9 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.4078, allocations: 15.86 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.4081, allocations: 55.81 kB / 402.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.4083, allocations: 71.77 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4084, allocations: 16.23 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.4085, allocations: 39.84 kB / 403.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.4086, allocations: 23.84 kB / 403.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.4086, allocations: 8 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.4087, allocations: 4 kB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.4087, allocations: 19.92 kB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.4088, allocations: 43.67 kB / 403.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.409, allocations: 79.7 kB / 403.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.409, allocations: 0 / 403.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4091, allocations: 0 / 403.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4091, allocations: 0 / 403.2 MB, free: 6.348 MB / 318.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.0007744/0.4098, allocations: 392.2 kB / 403.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4099, allocations: 11.97 kB / 403.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.41, allocations: 12.84 kB / 403.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.4104, allocations: 204 kB / 403.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.4104, allocations: 12.38 kB / 403.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.4105, allocations: 8.359 kB / 403.9 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.4109, allocations: 137.3 kB / 404 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4109, allocations: 0 / 404 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4109, allocations: 0 / 404 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4109, allocations: 4 kB / 404 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.4111, allocations: 35.97 kB / 404 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.4118, allocations: 313.6 kB / 404.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.4121, allocations: 154.2 kB / 404.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4123, allocations: 45.77 kB / 404.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.4123, allocations: 0 / 404.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.4125, allocations: 59.41 kB / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.4125, allocations: 0 / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004359/0.4129, allocations: 129.4 kB / 404.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.413, allocations: 81.11 kB / 404.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4132, allocations: 141.8 kB / 405 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4132, allocations: 29.7 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4133, allocations: 92.12 kB / 405.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4134, allocations: 15.75 kB / 405.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.4134, allocations: 29.7 kB / 405.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4136, allocations: 334.7 kB / 405.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.4137, allocations: 19.98 kB / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4138, allocations: 57.14 kB / 405.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.414, allocations: 85.08 kB / 405.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.414, allocations: 0 / 405.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002296/0.4142, allocations: 113.4 kB / 405.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4143, allocations: 12.09 kB / 405.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4143, allocations: 4 kB / 405.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.4143, allocations: 4 kB / 405.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.4144, allocations: 11.94 kB / 405.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.4145, allocations: 7.984 kB / 405.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.4145, allocations: 4 kB / 405.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4146, allocations: 4 kB / 405.8 MB, free: 3.527 MB / 318.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.0001439/0.4147, allocations: 131 kB / 405.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.4148, allocations: 57.44 kB / 405.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.4149, allocations: 24.3 kB / 406 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4149, allocations: 4 kB / 406 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4149, allocations: 320 / 406 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4149, allocations: 0 / 406 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.4154, allocations: 350.5 kB / 406.3 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4154, allocations: 3.938 kB / 406.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.4154, allocations: 8 kB / 406.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4155, allocations: 3.984 kB / 406.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4155, allocations: 0 / 406.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4155, allocations: 8 kB / 406.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4155, allocations: 3.938 kB / 406.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.4157, allocations: 196.2 kB / 406.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.4158, allocations: 100.9 kB / 406.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.4158, allocations: 4 kB / 406.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.4159, allocations: 0 / 406.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.416, allocations: 16.17 kB / 406.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.416, allocations: 7.984 kB / 406.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.4161, allocations: 106 kB / 406.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4161, allocations: 0 / 406.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.4164, allocations: 16 kB / 406.8 MB, free: 2.398 MB / 318.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.0002083/0.4166, allocations: 107.2 kB / 406.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.4168, allocations: 64.09 kB / 406.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4169, allocations: 4.062 kB / 406.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.111e-05/0.4169, allocations: 23.98 kB / 407 MB, free: 2.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4173, allocations: 27.97 kB / 407 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.4178, allocations: 207.9 kB / 407.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.4181, allocations: 0.7007 MB / 407.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.4181, allocations: 16.59 kB / 407.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.4182, allocations: 11.44 kB / 407.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4182, allocations: 0 / 407.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of Templates: time 0.00404/0.4222, allocations: 0.8072 MB / 408.7 MB, free: 400 kB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (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) 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) Reference file matches