Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001158, allocations: 199.6 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008224, allocations: 99.19 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.000279, allocations: 11.98 kB / 360.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 51.41 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001863/0.3353, allocations: 1.343 MB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3364, allocations: 0.722 MB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.3365, allocations: 11.88 kB / 414.1 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.3365, allocations: 5.984 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.3367, allocations: 7.938 kB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.3371, allocations: 55.81 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.3372, allocations: 55.91 kB / 414.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3373, allocations: 30.2 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3374, allocations: 31.86 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.3375, allocations: 31.83 kB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3375, allocations: 7.25 kB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.3376, allocations: 4 kB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.3376, allocations: 15.94 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.3377, allocations: 61.44 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3378, allocations: 71.69 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3378, allocations: 0 / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3378, allocations: 0 / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3378, allocations: 0 / 414.5 MB, free: 23.38 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.0004793/0.3383, allocations: 380.7 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3384, allocations: 12.03 kB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.3385, allocations: 20.83 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3387, allocations: 204 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3387, allocations: 4.375 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3387, allocations: 4.375 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.339, allocations: 145.3 kB / 415.3 MB, free: 22.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.339, allocations: 0 / 415.3 MB, free: 22.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3391, allocations: 3.984 kB / 415.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3391, allocations: 0 / 415.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3392, allocations: 43.92 kB / 415.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3396, allocations: 309.6 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3398, allocations: 162.2 kB / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.3399, allocations: 37.8 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3399, allocations: 4 kB / 415.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.3401, allocations: 71.33 kB / 415.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.3401, allocations: 3.984 kB / 415.9 MB, free: 21.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.00029/0.3404, allocations: 117.6 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.3404, allocations: 85.05 kB / 416.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.3405, allocations: 146.3 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.3406, allocations: 25.7 kB / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.3406, allocations: 96.05 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3406, allocations: 19.83 kB / 416.4 MB, free: 21.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.3406, allocations: 4 kB / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.3407, allocations: 326.8 kB / 416.7 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.3408, allocations: 19.98 kB / 416.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.3408, allocations: 65.08 kB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.341, allocations: 89.08 kB / 416.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.341, allocations: 0 / 416.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001647/0.3411, allocations: 121.4 kB / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3412, allocations: 4 kB / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3412, allocations: 0 / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3412, allocations: 4 kB / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.3413, allocations: 20.09 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3413, allocations: 4.25 kB / 417 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.3414, allocations: 15.89 kB / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3414, allocations: 8 kB / 417 MB, free: 20.56 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 7.852e-05/0.3415, allocations: 129.7 kB / 417.2 MB, free: 20.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3415, allocations: 53.59 kB / 417.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.3416, allocations: 12.31 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3416, allocations: 3.984 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3416, allocations: 0 / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3416, allocations: 8 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.3419, allocations: 350.5 kB / 417.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3419, allocations: 0 / 417.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.3419, allocations: 8 kB / 417.6 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3419, allocations: 4 kB / 417.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.342, allocations: 3.984 kB / 417.6 MB, free: 19.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.342, allocations: 4 kB / 417.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.342, allocations: 3.938 kB / 417.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3422, allocations: 200.2 kB / 417.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.3422, allocations: 104.8 kB / 417.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3422, allocations: 4 kB / 417.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.3423, allocations: 8 kB / 417.9 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.3424, allocations: 7.938 kB / 417.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3424, allocations: 3.984 kB / 417.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.3424, allocations: 107.3 kB / 418 MB, free: 19.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3424, allocations: 0 / 418 MB, free: 19.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.3427, allocations: 16 kB / 418 MB, free: 19.43 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 0.0001132/0.3428, allocations: 119.4 kB / 418.2 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.3429, allocations: 67.91 kB / 418.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.343, allocations: 0 / 418.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.343, allocations: 23.94 kB / 418.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3433, allocations: 26.83 kB / 418.3 MB, free: 19.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.3437, allocations: 238.3 kB / 418.5 MB, free: 18.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.3438, allocations: 0.7005 MB / 419.2 MB, free: 18.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.618e-05/0.3439, allocations: 12.59 kB / 419.2 MB, free: 18.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.3439, allocations: 19.44 kB / 419.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.3439, allocations: 0 / 419.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of Templates: time 0.00275/0.3467, allocations: 0.7175 MB / 420 MB, free: 17.45 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches