Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007969/0.000797, allocations: 94.16 kB / 16.04 MB, free: 5.742 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.07395/0.07395, allocations: 12.63 MB / 29.41 MB, free: 6.078 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 4 kB / 40.28 MB, free: 0.6094 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007533/0.007809, allocations: 2.831 MB / 43.11 MB, free: 6.055 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.AssignClock): time 1.621/1.629, allocations: 276.9 MB / 320.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003329/1.63, allocations: 108.6 kB / 320.2 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/1.63, allocations: 4 kB / 320.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/1.63, allocations: 9.453 kB / 320.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/1.63, allocations: 7.984 kB / 320.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/1.63, allocations: 31.92 kB / 320.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.463e-05/1.63, allocations: 31.92 kB / 320.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/1.631, allocations: 36.78 kB / 320.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/1.631, allocations: 16.53 kB / 320.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.341e-05/1.631, allocations: 11.92 kB / 320.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/1.631, allocations: 0.6875 kB / 320.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/1.631, allocations: 0 / 320.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/1.631, allocations: 17.91 kB / 320.3 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/1.631, allocations: 49.5 kB / 320.4 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.991e-05/1.631, allocations: 51.73 kB / 320.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.631, allocations: 0 / 320.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.631, allocations: 0 / 320.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/1.631, allocations: 1.75 kB / 320.4 MB, free: 10.92 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004162/1.631, allocations: 360.8 kB / 320.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/1.631, allocations: 8.031 kB / 320.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/1.631, allocations: 10.12 kB / 320.8 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/1.632, allocations: 196.1 kB / 321 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/1.632, allocations: 4.375 kB / 321 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/1.632, allocations: 5.562 kB / 321 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/1.632, allocations: 138.4 kB / 321.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.632, allocations: 7.875 kB / 321.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.632, allocations: 4 kB / 321.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/1.632, allocations: 0 / 321.1 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/1.632, allocations: 19.98 kB / 321.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/1.632, allocations: 170.7 kB / 321.3 MB, free: 9.879 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/1.632, allocations: 69.58 kB / 321.4 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/1.633, allocations: 36.89 kB / 321.4 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/1.633, allocations: 4 kB / 321.4 MB, free: 9.762 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.633, allocations: 30.56 kB / 321.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/1.633, allocations: 0.6562 kB / 321.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001862/1.633, allocations: 93.5 kB / 321.6 MB, free: 9.625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/1.633, allocations: 60.03 kB / 321.6 MB, free: 9.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.633, allocations: 138.5 kB / 321.8 MB, free: 9.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/1.633, allocations: 31.17 kB / 321.8 MB, free: 9.375 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/1.633, allocations: 88 kB / 321.9 MB, free: 9.285 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/1.633, allocations: 3.984 kB / 321.9 MB, free: 9.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/1.633, allocations: 4 kB / 321.9 MB, free: 9.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/1.633, allocations: 315.5 kB / 322.2 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/1.633, allocations: 11.47 kB / 322.2 MB, free: 8.953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/1.633, allocations: 54.86 kB / 322.3 MB, free: 8.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/1.633, allocations: 76.28 kB / 322.3 MB, free: 8.781 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.633, allocations: 0 / 322.3 MB, free: 8.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001177/1.633, allocations: 93.39 kB / 322.4 MB, free: 8.684 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.634, allocations: 11.5 kB / 322.4 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.634, allocations: 4 kB / 322.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.634, allocations: 7.938 kB / 322.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/1.634, allocations: 15.98 kB / 322.5 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.634, allocations: 0 / 322.5 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/1.634, allocations: 7.938 kB / 322.5 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/1.634, allocations: 4 kB / 322.5 MB, free: 8.637 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.447e-05/1.634, allocations: 130.5 kB / 322.6 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/1.634, allocations: 78.89 kB / 322.7 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/1.634, allocations: 12.72 kB / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.634, allocations: 0 / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.634, allocations: 1.031 kB / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.634, allocations: 3.984 kB / 322.7 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/1.634, allocations: 165.8 kB / 322.9 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.634, allocations: 4.75 kB / 322.9 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/1.634, allocations: 19.86 kB / 322.9 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.634, allocations: 6.031 kB / 322.9 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.634, allocations: 4 kB / 322.9 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.634, allocations: 0 / 322.9 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.634, allocations: 0 / 322.9 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/1.634, allocations: 97.94 kB / 323 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/1.634, allocations: 104 kB / 323.1 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/1.634, allocations: 0 / 323.1 MB, free: 7.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/1.634, allocations: 4 kB / 323.1 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-06/1.634, allocations: 0 / 323.1 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/1.634, allocations: 4 kB / 323.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.349e-05/1.634, allocations: 111.2 kB / 323.2 MB, free: 7.809 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.634, allocations: 0 / 323.2 MB, free: 7.809 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001924/1.635, allocations: 12 kB / 323.2 MB, free: 7.797 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 8.865e-05/1.635, allocations: 100.4 kB / 323.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/1.635, allocations: 45.05 kB / 323.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.635, allocations: 0.7188 kB / 323.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/1.635, allocations: 0.6562 kB / 323.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.635, allocations: 40.02 kB / 323.4 MB, free: 7.609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/1.636, allocations: 200.9 kB / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.636, allocations: 0.6926 MB / 324.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.453e-05/1.636, allocations: 7.984 kB / 324.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/1.636, allocations: 7.438 kB / 324.3 MB, free: 6.652 MB / 250.7 MB Notification: Performance of SimCode: time 1.91e-07/1.636, allocations: 0 / 324.3 MB, free: 6.652 MB / 250.7 MB Notification: Performance of Templates: time 0.002407/1.638, allocations: 0.5736 MB / 324.9 MB, free: 6.086 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches