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.00133/0.00133, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.001334/0.001334, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 47.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2794, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002844/0.2823, allocations: 1.636 MB / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.2832, allocations: 0.4947 MB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.2833, allocations: 11.94 kB / 403.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/0.2834, allocations: 3.938 kB / 403.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.2835, allocations: 15.86 kB / 403.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.2838, allocations: 51.83 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2839, allocations: 67.77 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2841, allocations: 28.2 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.2842, allocations: 31.8 kB / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.2842, allocations: 35.84 kB / 403.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.2843, allocations: 4 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.2843, allocations: 8 kB / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.2843, allocations: 23.91 kB / 403.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.2844, allocations: 31.75 kB / 403.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2845, allocations: 83.64 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2845, allocations: 0 / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2845, allocations: 0 / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2845, allocations: 0 / 403.9 MB, free: 6.34 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.0005261/0.2851, allocations: 392.2 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2851, allocations: 15.97 kB / 404.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.2852, allocations: 8.844 kB / 404.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.2854, allocations: 208 kB / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.2855, allocations: 384 / 404.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2855, allocations: 8.375 kB / 404.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.2858, allocations: 145.3 kB / 404.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2858, allocations: 4 kB / 404.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2858, allocations: 0 / 404.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2858, allocations: 0 / 404.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.286, allocations: 35.92 kB / 404.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2864, allocations: 301.7 kB / 405 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.2867, allocations: 158.2 kB / 405.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.2868, allocations: 33.8 kB / 405.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2868, allocations: 4 kB / 405.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.2869, allocations: 63.39 kB / 405.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2869, allocations: 0 / 405.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000298/0.2872, allocations: 121.4 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.2873, allocations: 85.23 kB / 405.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2874, allocations: 145.8 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2874, allocations: 29.7 kB / 405.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.2875, allocations: 96.12 kB / 405.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2875, allocations: 23.81 kB / 405.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.2876, allocations: 29.7 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2877, allocations: 318.8 kB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.2878, allocations: 20.23 kB / 406.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.2878, allocations: 69.08 kB / 406.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.288, allocations: 85.06 kB / 406.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.288, allocations: 4 kB / 406.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001844/0.2882, allocations: 109.5 kB / 406.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2882, allocations: 8 kB / 406.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2882, allocations: 3.984 kB / 406.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2882, allocations: 4 kB / 406.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.2883, allocations: 15.92 kB / 406.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2883, allocations: 4 kB / 406.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.2884, allocations: 4.156 kB / 406.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2884, allocations: 8 kB / 406.4 MB, free: 3.523 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 9.798e-05/0.2885, allocations: 139.5 kB / 406.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.2886, allocations: 61.44 kB / 406.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.2886, allocations: 12.31 kB / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2886, allocations: 0 / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2887, allocations: 4 kB / 406.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2887, allocations: 0 / 406.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.289, allocations: 346.5 kB / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.289, allocations: 0 / 407 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.043e-05/0.2891, allocations: 11.98 kB / 407 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2891, allocations: 4 kB / 407 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2891, allocations: 0 / 407 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2891, allocations: 0 / 407 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.2891, allocations: 4.062 kB / 407 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.2893, allocations: 212.2 kB / 407.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.2894, allocations: 92.94 kB / 407.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2895, allocations: 8 kB / 407.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.2895, allocations: 3.984 kB / 407.3 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.2896, allocations: 7.938 kB / 407.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2896, allocations: 0 / 407.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.2897, allocations: 114 kB / 407.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2897, allocations: 0 / 407.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00023/0.2899, allocations: 16 kB / 407.5 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.0001171/0.29, allocations: 107.4 kB / 407.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2902, allocations: 63.91 kB / 407.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2902, allocations: 0 / 407.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.2903, allocations: 23.92 kB / 407.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.2906, allocations: 39.89 kB / 407.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.291, allocations: 234.1 kB / 407.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2913, allocations: 0.7046 MB / 408.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.2914, allocations: 11.44 kB / 408.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2914, allocations: 96 / 408.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of Templates: time 0.002596/0.294, allocations: 1.063 MB / 409.7 MB, free: 104 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/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