Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToTrigger.y|sample.y|triggeredSampler.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007671/0.0007671, allocations: 97.25 kB / 16.04 MB, free: 5.172 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1018/0.1018, allocations: 12.63 MB / 29.41 MB, free: 5.75 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002327/0.0002329, allocations: 4 kB / 40.27 MB, free: 396 kB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007967/0.008219, allocations: 2.839 MB / 43.11 MB, free: 5.832 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 1.776/1.784, allocations: 277.6 MB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007298/1.785, allocations: 480.1 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/1.785, allocations: 3.938 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/1.785, allocations: 3.938 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/1.785, allocations: 11.92 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/1.786, allocations: 47.91 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/1.786, allocations: 64.64 kB / 321.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.786, allocations: 39.86 kB / 321.4 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/1.786, allocations: 26.17 kB / 321.4 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/1.786, allocations: 27.84 kB / 321.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/1.786, allocations: 0 / 321.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/1.786, allocations: 4 kB / 321.4 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/1.786, allocations: 15.92 kB / 321.4 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/1.786, allocations: 61.44 kB / 321.5 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.662e-05/1.786, allocations: 67.3 kB / 321.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.786, allocations: 0 / 321.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/1.786, allocations: 0 / 321.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/1.786, allocations: 0 / 321.6 MB, free: 9.762 MB / 250.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.000455/1.787, allocations: 379.2 kB / 321.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/1.787, allocations: 11.97 kB / 321.9 MB, free: 9.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/1.787, allocations: 12.84 kB / 322 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/1.787, allocations: 204.7 kB / 322.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/1.787, allocations: 8.375 kB / 322.2 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/1.787, allocations: 4.375 kB / 322.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/1.788, allocations: 141.9 kB / 322.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.788, allocations: 0 / 322.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.788, allocations: 0.6562 kB / 322.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.788, allocations: 0 / 322.3 MB, free: 8.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/1.788, allocations: 46.62 kB / 322.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/1.788, allocations: 307 kB / 322.7 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/1.788, allocations: 161.2 kB / 322.8 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/1.788, allocations: 37.8 kB / 322.9 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.788, allocations: 5.125 kB / 322.9 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/1.789, allocations: 64.64 kB / 322.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/1.789, allocations: 0 / 322.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000289/1.789, allocations: 123.9 kB / 323 MB, free: 8.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/1.789, allocations: 81.11 kB / 323.1 MB, free: 7.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/1.789, allocations: 144.9 kB / 323.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/1.789, allocations: 29.7 kB / 323.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/1.789, allocations: 96.14 kB / 323.4 MB, free: 7.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/1.789, allocations: 29.7 kB / 323.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.789, allocations: 0 / 323.4 MB, free: 7.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/1.789, allocations: 318.8 kB / 323.7 MB, free: 7.359 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/1.789, allocations: 27.98 kB / 323.8 MB, free: 7.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/1.789, allocations: 63.09 kB / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.79, allocations: 93.52 kB / 323.9 MB, free: 7.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.79, allocations: 0 / 323.9 MB, free: 7.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002057/1.79, allocations: 115.6 kB / 324 MB, free: 7.031 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.79, allocations: 11.94 kB / 324 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.79, allocations: 4.734 kB / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.79, allocations: 6.062 kB / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/1.79, allocations: 8 kB / 324 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.79, allocations: 4 kB / 324.1 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/1.79, allocations: 12.17 kB / 324.1 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/1.79, allocations: 4 kB / 324.1 MB, free: 6.984 MB / 250.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 9.71e-05/1.79, allocations: 135.6 kB / 324.2 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/1.79, allocations: 57.59 kB / 324.3 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/1.79, allocations: 13.69 kB / 324.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.79, allocations: 0 / 324.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.79, allocations: 0 / 324.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.79, allocations: 4.703 kB / 324.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/1.791, allocations: 354.5 kB / 324.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.791, allocations: 0 / 324.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/1.791, allocations: 8 kB / 324.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.791, allocations: 0 / 324.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/1.791, allocations: 11.98 kB / 324.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.791, allocations: 0 / 324.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.791, allocations: 3.938 kB / 324.6 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/1.791, allocations: 200.2 kB / 324.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/1.791, allocations: 100.9 kB / 324.9 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/1.791, allocations: 3.984 kB / 324.9 MB, free: 6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/1.791, allocations: 8.125 kB / 324.9 MB, free: 5.992 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/1.791, allocations: 3.938 kB / 325 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/1.791, allocations: 8 kB / 325 MB, free: 5.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.598e-05/1.791, allocations: 117.6 kB / 325.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.791, allocations: 0 / 325.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002198/1.792, allocations: 16.09 kB / 325.1 MB, free: 5.852 MB / 250.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.0001118/1.792, allocations: 103.4 kB / 325.2 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/1.792, allocations: 71.89 kB / 325.3 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.792, allocations: 4.312 kB / 325.3 MB, free: 5.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/1.792, allocations: 19.94 kB / 325.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/1.792, allocations: 31.95 kB / 325.3 MB, free: 5.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/1.793, allocations: 245.9 kB / 325.6 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/1.793, allocations: 0.7004 MB / 326.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/1.793, allocations: 8.844 kB / 326.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/1.793, allocations: 15.42 kB / 326.3 MB, free: 4.598 MB / 250.7 MB Notification: Performance of SimCode: time 2.5e-07/1.793, allocations: 0 / 326.3 MB, free: 4.598 MB / 250.7 MB Notification: Performance of Templates: time 0.002669/1.796, allocations: 0.727 MB / 327 MB, free: 3.879 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches