Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.001022/0.001022, allocations: 99.16 kB / 16.05 MB, free: 5.59 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.1226/0.1226, allocations: 12.63 MB / 29.41 MB, free: 6.066 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002498/0.0002498, allocations: 0 / 40.27 MB, free: 0.6055 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007798/0.008071, allocations: 2.831 MB / 43.11 MB, free: 6.051 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.BooleanSignals.AssignClock): time 1.613/1.622, allocations: 276.9 MB / 320 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003356/1.622, allocations: 106.5 kB / 320.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/1.622, allocations: 11.88 kB / 320.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/1.622, allocations: 0 / 320.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/1.622, allocations: 7.938 kB / 320.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/1.622, allocations: 35.97 kB / 320.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.123e-05/1.623, allocations: 43.84 kB / 320.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/1.623, allocations: 28.03 kB / 320.2 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/1.623, allocations: 11.92 kB / 320.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/1.623, allocations: 16.72 kB / 320.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/1.623, allocations: 0 / 320.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/1.623, allocations: 0.5312 kB / 320.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/1.623, allocations: 7.984 kB / 320.2 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/1.623, allocations: 55.94 kB / 320.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.277e-05/1.623, allocations: 51.73 kB / 320.3 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.623, allocations: 0 / 320.3 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/1.623, allocations: 0 / 320.3 MB, free: 11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/1.623, allocations: 0 / 320.3 MB, free: 11 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.000385/1.623, allocations: 358.8 kB / 320.7 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/1.623, allocations: 8.031 kB / 320.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/1.623, allocations: 8.844 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/1.624, allocations: 188.2 kB / 320.9 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.624, allocations: 4.375 kB / 320.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/1.624, allocations: 4.375 kB / 320.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/1.624, allocations: 143.2 kB / 321 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/1.624, allocations: 192 / 321 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.624, allocations: 7.938 kB / 321 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.624, allocations: 0 / 321 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/1.624, allocations: 16 kB / 321.1 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/1.624, allocations: 173.5 kB / 321.2 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/1.624, allocations: 63.5 kB / 321.3 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/1.624, allocations: 38.92 kB / 321.3 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.624, allocations: 0 / 321.3 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.624, allocations: 38.56 kB / 321.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/1.624, allocations: 0.6875 kB / 321.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001732/1.625, allocations: 89.47 kB / 321.5 MB, free: 9.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.625, allocations: 58.05 kB / 321.5 MB, free: 9.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/1.625, allocations: 129.8 kB / 321.6 MB, free: 9.516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/1.625, allocations: 33.69 kB / 321.7 MB, free: 9.477 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/1.625, allocations: 88 kB / 321.8 MB, free: 9.387 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/1.625, allocations: 0 / 321.8 MB, free: 9.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.625, allocations: 4.625 kB / 321.8 MB, free: 9.383 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/1.625, allocations: 319.7 kB / 322.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/1.625, allocations: 8 kB / 322.1 MB, free: 9.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/1.625, allocations: 60.73 kB / 322.1 MB, free: 8.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/1.625, allocations: 75.44 kB / 322.2 MB, free: 8.879 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.625, allocations: 0 / 322.2 MB, free: 8.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001146/1.625, allocations: 93.09 kB / 322.3 MB, free: 8.785 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.625, allocations: 4 kB / 322.3 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.625, allocations: 7.938 kB / 322.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.625, allocations: 7.984 kB / 322.3 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.538e-05/1.625, allocations: 0 / 322.3 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.625, allocations: 7.938 kB / 322.3 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/1.625, allocations: 5.75 kB / 322.3 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.625, allocations: 4 kB / 322.3 MB, free: 8.75 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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 7.994e-05/1.626, allocations: 129.7 kB / 322.5 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/1.626, allocations: 70.22 kB / 322.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/1.626, allocations: 22.11 kB / 322.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.626, allocations: 0 / 322.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.626, allocations: 0 / 322.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.626, allocations: 4 kB / 322.6 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/1.626, allocations: 165.7 kB / 322.7 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.626, allocations: 5.406 kB / 322.7 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/1.626, allocations: 0 / 322.7 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/1.626, allocations: 0 / 322.7 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/1.626, allocations: 11.92 kB / 322.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.626, allocations: 2.031 kB / 322.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.626, allocations: 4 kB / 322.7 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/1.626, allocations: 93.42 kB / 322.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/1.626, allocations: 94.59 kB / 322.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/1.626, allocations: 7.938 kB / 322.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/1.626, allocations: 0 / 322.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-06/1.626, allocations: 0 / 322.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/1.626, allocations: 5.781 kB / 322.9 MB, free: 8.055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.589e-05/1.626, allocations: 99.83 kB / 323 MB, free: 7.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.626, allocations: 3.938 kB / 323 MB, free: 7.953 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001742/1.626, allocations: 8 kB / 323.1 MB, free: 7.945 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,xor.u1,xor.u2,xor.y,integerConstant.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.568e-05/1.626, allocations: 109.3 kB / 323.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.957e-05/1.627, allocations: 49.31 kB / 323.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.627, allocations: 0 / 323.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/1.627, allocations: 4.312 kB / 323.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/1.627, allocations: 47.89 kB / 323.3 MB, free: 7.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/1.627, allocations: 183.4 kB / 323.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/1.627, allocations: 0.6926 MB / 324.1 MB, free: 6.809 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.194e-05/1.627, allocations: 8 kB / 324.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/1.627, allocations: 7.438 kB / 324.1 MB, free: 6.793 MB / 250.7 MB Notification: Performance of SimCode: time 2.11e-07/1.627, allocations: 0 / 324.1 MB, free: 6.793 MB / 250.7 MB Notification: Performance of Templates: time 0.002252/1.63, allocations: 0.5863 MB / 324.7 MB, free: 6.215 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches