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.0008926/0.0008926, allocations: 91.03 kB / 17.31 MB, free: 6.535 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.001092/0.001092, allocations: 181.5 kB / 18.21 MB, free: 5.676 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.29/1.29, allocations: 223.3 MB / 242.3 MB, free: 264 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002258/0.0002258, allocations: 11.94 kB / 302.1 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07443/0.07467, allocations: 50.41 MB / 352.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001676/0.07639, allocations: 1.35 MB / 353.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.07716, allocations: 498.8 kB / 354.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.07725, allocations: 4 kB / 354.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.07728, allocations: 3.938 kB / 354.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.07739, allocations: 11.92 kB / 354.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.07768, allocations: 47.84 kB / 354.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.07778, allocations: 67.77 kB / 354.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.07788, allocations: 20.22 kB / 354.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.07795, allocations: 23.86 kB / 354.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.07802, allocations: 27.84 kB / 354.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.07804, allocations: 4 kB / 354.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.07806, allocations: 3.938 kB / 354.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.07811, allocations: 11.92 kB / 354.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.396e-05/0.07817, allocations: 61.45 kB / 354.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.042e-05/0.07825, allocations: 55.89 kB / 354.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.07826, allocations: 0 / 354.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.07827, allocations: 0 / 354.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.07828, allocations: 0 / 354.7 MB, free: 1.531 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.0004237/0.07871, allocations: 375.5 kB / 355 MB, free: 1.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.07875, allocations: 8.031 kB / 355 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.07879, allocations: 12.75 kB / 355.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.07896, allocations: 202.9 kB / 355.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.07899, allocations: 12.38 kB / 355.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.07901, allocations: 8.312 kB / 355.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.07929, allocations: 140.7 kB / 355.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.07931, allocations: 0 / 355.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.07933, allocations: 11.98 kB / 355.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.07934, allocations: 3.938 kB / 355.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.07946, allocations: 31.98 kB / 355.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.07989, allocations: 321.4 kB / 355.8 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.08011, allocations: 154.3 kB / 355.9 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.08021, allocations: 41.73 kB / 356 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.08023, allocations: 8 kB / 356 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.08038, allocations: 63.39 kB / 356 MB, free: 15.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.08039, allocations: 0 / 356 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002942/0.08069, allocations: 121.5 kB / 356.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.08075, allocations: 85.11 kB / 356.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.08086, allocations: 137.8 kB / 356.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.08088, allocations: 33.7 kB / 356.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.08094, allocations: 88.05 kB / 356.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.08097, allocations: 27.8 kB / 356.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.081, allocations: 17.72 kB / 356.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.0811, allocations: 322.8 kB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.08117, allocations: 27.98 kB / 356.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.349e-05/0.08126, allocations: 61.08 kB / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.08141, allocations: 89.08 kB / 357 MB, free: 14.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.08143, allocations: 0 / 357 MB, free: 14.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002183/0.08165, allocations: 125.9 kB / 357.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.08167, allocations: 4 kB / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.08168, allocations: 4 kB / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.0817, allocations: 0 / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.08178, allocations: 19.92 kB / 357.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.0818, allocations: 4 kB / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.08186, allocations: 7.906 kB / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.08187, allocations: 4 kB / 357.2 MB, free: 14.7 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 8.538e-05/0.08197, allocations: 133.7 kB / 357.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.08204, allocations: 53.55 kB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.08208, allocations: 24.23 kB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.08209, allocations: 4 kB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.0821, allocations: 0 / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.08211, allocations: 0 / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.08245, allocations: 346.5 kB / 357.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.08246, allocations: 0 / 357.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.08253, allocations: 19.92 kB / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.08254, allocations: 240 / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.08255, allocations: 0 / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.08256, allocations: 4 kB / 357.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.08257, allocations: 7.922 kB / 357.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.0828, allocations: 216.1 kB / 358 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.08287, allocations: 97 kB / 358.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.08289, allocations: 0 / 358.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.08298, allocations: 4 kB / 358.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.08301, allocations: 11.92 kB / 358.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.08303, allocations: 4 kB / 358.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.0831, allocations: 109.8 kB / 358.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08311, allocations: 0 / 358.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.08336, allocations: 16.09 kB / 358.2 MB, free: 13.56 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 8.117e-05/0.08345, allocations: 110.4 kB / 358.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.08363, allocations: 71.84 kB / 358.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.08365, allocations: 0 / 358.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.08371, allocations: 20.23 kB / 358.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.08404, allocations: 32.45 kB / 358.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.08441, allocations: 267.5 kB / 358.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.08464, allocations: 0.7082 MB / 359.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.08468, allocations: 11.44 kB / 359.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08469, allocations: 0 / 359.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Templates: time 0.002209/0.0869, allocations: 1.029 MB / 360.5 MB, free: 11.25 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