Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 186.2 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 243.2 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 101.4 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2499, allocations: 50.41 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001612/0.2516, allocations: 1.331 MB / 405.9 MB, free: 29.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006626/0.2523, allocations: 473.6 kB / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.2524, allocations: 0 / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.2524, allocations: 11.86 kB / 406.4 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2525, allocations: 11.92 kB / 406.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2528, allocations: 53.27 kB / 406.5 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.2529, allocations: 59.78 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2531, allocations: 16.81 kB / 406.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.2531, allocations: 28.83 kB / 406.6 MB, free: 29.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.2532, allocations: 23.84 kB / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.2532, allocations: 5.625 kB / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2532, allocations: 0 / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.2533, allocations: 15.94 kB / 406.6 MB, free: 29.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.2534, allocations: 65.42 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.509e-05/0.2535, allocations: 64.89 kB / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2535, allocations: 0 / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.2535, allocations: 0 / 406.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2535, allocations: 3.938 kB / 406.7 MB, free: 29.15 MB / 298.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.0004431/0.2539, allocations: 383 kB / 407.1 MB, free: 28.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.254, allocations: 8.812 kB / 407.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.254, allocations: 8.844 kB / 407.1 MB, free: 28.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2542, allocations: 200.7 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.2542, allocations: 4.375 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.2542, allocations: 11.91 kB / 407.3 MB, free: 28.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.2545, allocations: 145.3 kB / 407.5 MB, free: 28.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.2545, allocations: 3.938 kB / 407.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2546, allocations: 5.75 kB / 407.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2546, allocations: 0 / 407.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2547, allocations: 36.5 kB / 407.5 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.2551, allocations: 313.5 kB / 407.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.2553, allocations: 158.3 kB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.841e-05/0.2554, allocations: 37.8 kB / 408 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2554, allocations: 3.938 kB / 408 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.2556, allocations: 67.33 kB / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2556, allocations: 0 / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002659/0.2558, allocations: 121.7 kB / 408.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2559, allocations: 85.11 kB / 408.3 MB, free: 27.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.256, allocations: 144.4 kB / 408.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.256, allocations: 29.7 kB / 408.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.2561, allocations: 100 kB / 408.6 MB, free: 27.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.2561, allocations: 11.84 kB / 408.6 MB, free: 27.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.2561, allocations: 4 kB / 408.6 MB, free: 27.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.2562, allocations: 326.8 kB / 408.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.2562, allocations: 27.98 kB / 408.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.2563, allocations: 61.14 kB / 409 MB, free: 26.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.2564, allocations: 93.02 kB / 409.1 MB, free: 26.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2564, allocations: 4 kB / 409.1 MB, free: 26.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001624/0.2566, allocations: 121.4 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2566, allocations: 4 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2566, allocations: 4 kB / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2566, allocations: 0 / 409.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.2567, allocations: 12 kB / 409.2 MB, free: 26.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2567, allocations: 8.141 kB / 409.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.037e-05/0.2568, allocations: 11.91 kB / 409.2 MB, free: 26.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2568, allocations: 11.94 kB / 409.2 MB, free: 26.34 MB / 298.7 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 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.y3) * 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 6.666e-05/0.2569, allocations: 122.9 kB / 409.4 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.2569, allocations: 57.77 kB / 409.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.257, allocations: 16.3 kB / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.257, allocations: 4 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.257, allocations: 0 / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.257, allocations: 0 / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.2572, allocations: 350.5 kB / 409.8 MB, free: 25.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2573, allocations: 7.938 kB / 409.8 MB, free: 25.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.2573, allocations: 11.98 kB / 409.8 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2573, allocations: 0 / 409.8 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2573, allocations: 4 kB / 409.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2573, allocations: 4 kB / 409.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2574, allocations: 7.875 kB / 409.8 MB, free: 25.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2575, allocations: 196.3 kB / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2576, allocations: 108.8 kB / 410.1 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2576, allocations: 4.125 kB / 410.1 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.2577, allocations: 12 kB / 410.1 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.2577, allocations: 7.938 kB / 410.1 MB, free: 25.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2577, allocations: 7.984 kB / 410.1 MB, free: 25.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.467e-05/0.2578, allocations: 104 kB / 410.2 MB, free: 25.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2578, allocations: 0 / 410.2 MB, free: 25.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.258, allocations: 16 kB / 410.3 MB, free: 25.21 MB / 298.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 8.731e-05/0.2581, allocations: 107.2 kB / 410.4 MB, free: 25.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.2583, allocations: 72.09 kB / 410.4 MB, free: 25.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2583, allocations: 96 / 410.4 MB, free: 25.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.2583, allocations: 27.86 kB / 410.5 MB, free: 25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2586, allocations: 27.86 kB / 410.5 MB, free: 24.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.259, allocations: 242 kB / 410.7 MB, free: 24.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2591, allocations: 0.7043 MB / 411.4 MB, free: 23.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.386e-05/0.2591, allocations: 8.656 kB / 411.4 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2592, allocations: 11.44 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2592, allocations: 4 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of Templates: time 0.002673/0.2619, allocations: 0.7141 MB / 412.2 MB, free: 23.23 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches