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.001806/0.001806, allocations: 107.8 kB / 17.16 MB, free: 6.328 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.002022/0.002022, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.253/2.253, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002182, allocations: 52.52 kB / 300.6 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1895, allocations: 49.44 MB / 350.1 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.008139/0.1977, allocations: 1.689 MB / 351.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1997, allocations: 0.4987 MB / 352.3 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.2, allocations: 3.938 kB / 352.3 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.2003, allocations: 3.984 kB / 352.3 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.2005, allocations: 11.94 kB / 352.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.2011, allocations: 55.88 kB / 352.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.2013, allocations: 59.78 kB / 352.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.2016, allocations: 16.23 kB / 352.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2017, allocations: 31.8 kB / 352.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2019, allocations: 35.83 kB / 352.5 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.2019, allocations: 4 kB / 352.5 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.277e-05/0.2019, allocations: 4 kB / 352.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.2021, allocations: 15.92 kB / 352.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2022, allocations: 35.75 kB / 352.5 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2024, allocations: 51.91 kB / 352.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.2024, allocations: 0 / 352.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2024, allocations: 0 / 352.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.2024, allocations: 0 / 352.6 MB, free: 2.344 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.0009757/0.2034, allocations: 391.4 kB / 353 MB, free: 1.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.542e-05/0.2035, allocations: 16.02 kB / 353 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.2036, allocations: 8.844 kB / 353 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.204, allocations: 207.9 kB / 353.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.204, allocations: 4.375 kB / 353.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.2041, allocations: 12.38 kB / 353.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.2046, allocations: 137.3 kB / 353.3 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.2047, allocations: 3.938 kB / 353.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.2047, allocations: 4 kB / 353.3 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2047, allocations: 4 kB / 353.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2049, allocations: 35.91 kB / 353.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009161/0.2059, allocations: 309.5 kB / 353.7 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.2063, allocations: 150.2 kB / 353.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.2064, allocations: 41.78 kB / 353.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.2065, allocations: 3.984 kB / 353.9 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.2067, allocations: 59.48 kB / 353.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.2067, allocations: 4 kB / 353.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005227/0.2073, allocations: 121.5 kB / 354.1 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2074, allocations: 93.03 kB / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2076, allocations: 136.9 kB / 354.3 MB, free: 404 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.2077, allocations: 29.7 kB / 354.3 MB, free: 368 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2078, allocations: 96.03 kB / 354.4 MB, free: 268 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.2079, allocations: 11.91 kB / 354.4 MB, free: 256 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.208, allocations: 37.61 kB / 354.5 MB, free: 212 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.2082, allocations: 322.8 kB / 354.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2083, allocations: 20.25 kB / 354.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2085, allocations: 61.12 kB / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.2087, allocations: 89.08 kB / 354.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2087, allocations: 0 / 354.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003601/0.2091, allocations: 113.6 kB / 355 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.2092, allocations: 10.81 kB / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2092, allocations: 0 / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.2092, allocations: 4 kB / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2094, allocations: 11.94 kB / 355.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.2094, allocations: 4 kB / 355.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2095, allocations: 11.98 kB / 355.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.2096, allocations: 7.938 kB / 355.1 MB, free: 15.52 MB / 302.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.0001703/0.2097, allocations: 136.8 kB / 355.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2099, allocations: 53.62 kB / 355.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.2099, allocations: 12.31 kB / 355.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.21, allocations: 7.984 kB / 355.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.21, allocations: 0 / 355.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.21, allocations: 0 / 355.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.2106, allocations: 350.4 kB / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2107, allocations: 0 / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.2108, allocations: 11.94 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.2108, allocations: 4 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2108, allocations: 3.984 kB / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2108, allocations: 0 / 355.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2108, allocations: 8.062 kB / 355.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.2112, allocations: 200.1 kB / 355.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.2114, allocations: 96.98 kB / 356 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2114, allocations: 8 kB / 356 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2116, allocations: 4 kB / 356 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.2116, allocations: 8.172 kB / 356 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2117, allocations: 7.984 kB / 356 MB, free: 14.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.2118, allocations: 103.3 kB / 356.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2119, allocations: 0 / 356.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004942/0.2124, allocations: 16 kB / 356.1 MB, free: 14.39 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.0002368/0.2126, allocations: 111.2 kB / 356.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.213, allocations: 67.91 kB / 356.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.213, allocations: 0 / 356.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.2131, allocations: 16 kB / 356.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.2138, allocations: 30.95 kB / 356.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.2146, allocations: 267.6 kB / 356.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.215, allocations: 0.6965 MB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.2151, allocations: 19.44 kB / 357.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2151, allocations: 0 / 357.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.004387/0.2195, allocations: 1.037 MB / 358.3 MB, free: 12.1 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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