Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.0007395/0.0007433, allocations: 94.16 kB / 16.04 MB, free: 5.285 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.1091/0.1091, allocations: 12.63 MB / 29.41 MB, free: 5.945 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002809, allocations: 4 kB / 40.28 MB, free: 0.5039 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.008969/0.009271, allocations: 2.835 MB / 43.11 MB, free: 5.945 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.IntegerSignals.AssignClock): time 1.581/1.59, allocations: 276.8 MB / 320 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/1.591, allocations: 116.3 kB / 320.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/1.591, allocations: 4 kB / 320.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.871e-05/1.591, allocations: 4.562 kB / 320.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/1.591, allocations: 11.98 kB / 320.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/1.591, allocations: 29.78 kB / 320.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.855e-05/1.591, allocations: 43.86 kB / 320.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/1.591, allocations: 34.78 kB / 320.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.734e-05/1.591, allocations: 11.94 kB / 320.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.629e-05/1.591, allocations: 15.86 kB / 320.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/1.591, allocations: 4 kB / 320.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/1.591, allocations: 0 / 320.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/1.592, allocations: 19.86 kB / 320.2 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/1.592, allocations: 49.52 kB / 320.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.276e-05/1.592, allocations: 47.8 kB / 320.3 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.592, allocations: 0 / 320.3 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.592, allocations: 0.625 kB / 320.3 MB, free: 11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/1.592, allocations: 3.938 kB / 320.3 MB, free: 10.99 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.0004344/1.592, allocations: 366.7 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/1.592, allocations: 12.03 kB / 320.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/1.592, allocations: 8.844 kB / 320.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/1.592, allocations: 196.1 kB / 320.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.592, allocations: 384 / 320.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/1.592, allocations: 8.359 kB / 320.9 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/1.593, allocations: 145.7 kB / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/1.593, allocations: 192 / 321.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.593, allocations: 9.656 kB / 321.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.593, allocations: 0 / 321.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/1.593, allocations: 31.97 kB / 321.1 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/1.593, allocations: 169.6 kB / 321.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/1.593, allocations: 76.11 kB / 321.3 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/1.593, allocations: 46.83 kB / 321.4 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/1.593, allocations: 3.984 kB / 321.4 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.593, allocations: 30.56 kB / 321.4 MB, free: 9.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.051e-06/1.593, allocations: 0.75 kB / 321.4 MB, free: 9.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001958/1.593, allocations: 105.7 kB / 321.5 MB, free: 9.641 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/1.594, allocations: 58.12 kB / 321.6 MB, free: 9.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.594, allocations: 137.8 kB / 321.7 MB, free: 9.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/1.594, allocations: 25.7 kB / 321.7 MB, free: 9.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/1.594, allocations: 95.98 kB / 321.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/1.594, allocations: 0 / 321.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/1.594, allocations: 7.938 kB / 321.8 MB, free: 9.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/1.594, allocations: 319.5 kB / 322.2 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/1.594, allocations: 9.219 kB / 322.2 MB, free: 8.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/1.594, allocations: 60.66 kB / 322.2 MB, free: 8.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.869e-05/1.594, allocations: 71.03 kB / 322.3 MB, free: 8.793 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.594, allocations: 3.938 kB / 322.3 MB, free: 8.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001178/1.594, allocations: 101.6 kB / 322.4 MB, free: 8.688 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.594, allocations: 8.562 kB / 322.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/1.594, allocations: 7.984 kB / 322.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.594, allocations: 0 / 322.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/1.594, allocations: 12 kB / 322.4 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.594, allocations: 11.92 kB / 322.4 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/1.594, allocations: 8 kB / 322.4 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/1.594, allocations: 4.844 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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.286e-05/1.594, allocations: 126.3 kB / 322.6 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/1.595, allocations: 100.2 kB / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/1.595, allocations: 12.72 kB / 322.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.595, allocations: 0 / 322.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.595, allocations: 0 / 322.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.595, allocations: 0 / 322.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/1.595, allocations: 173.6 kB / 322.9 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.595, allocations: 0 / 322.9 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/1.595, allocations: 12.56 kB / 322.9 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.595, allocations: 4.719 kB / 322.9 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.595, allocations: 4 kB / 322.9 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.595, allocations: 5.547 kB / 322.9 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.595, allocations: 0 / 322.9 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/1.595, allocations: 103.5 kB / 323 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/1.595, allocations: 93 kB / 323.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/1.595, allocations: 11.88 kB / 323.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/1.595, allocations: 3.984 kB / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-06/1.595, allocations: 4 kB / 323.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/1.595, allocations: 0 / 323.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/1.595, allocations: 108 kB / 323.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.595, allocations: 0 / 323.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001872/1.595, allocations: 12 kB / 323.2 MB, free: 7.781 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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 9.718e-05/1.595, allocations: 105.2 kB / 323.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/1.596, allocations: 52.42 kB / 323.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.596, allocations: 3.938 kB / 323.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/1.596, allocations: 0 / 323.4 MB, free: 7.617 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/1.596, allocations: 55.94 kB / 323.4 MB, free: 7.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/1.596, allocations: 191.2 kB / 323.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/1.596, allocations: 0.7084 MB / 324.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/1.597, allocations: 4.672 kB / 324.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/1.597, allocations: 7.438 kB / 324.3 MB, free: 6.598 MB / 250.7 MB Notification: Performance of SimCode: time 2.11e-07/1.597, allocations: 4 kB / 324.3 MB, free: 6.594 MB / 250.7 MB Notification: Performance of Templates: time 0.002471/1.599, allocations: 0.6351 MB / 325 MB, free: 5.965 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches