Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.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.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007967/0.0007969, allocations: 95.64 kB / 16.04 MB, free: 5.223 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.07888/0.07888, allocations: 12.63 MB / 29.41 MB, free: 5.875 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002135/0.0002136, allocations: 4 kB / 40.27 MB, free: 0.5117 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005975/0.006209, allocations: 2.835 MB / 43.1 MB, free: 5.953 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.WorkInProgress.ForDocumentation.TheDifferentClocks): time 1.557/1.563, allocations: 277.5 MB / 320.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008324/1.564, allocations: 433.4 kB / 321 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/1.564, allocations: 4 kB / 321 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/1.564, allocations: 3.938 kB / 321 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/1.564, allocations: 17.5 kB / 321 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/1.565, allocations: 55.88 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/1.565, allocations: 55.78 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/1.565, allocations: 20.52 kB / 321.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/1.565, allocations: 30.14 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/1.565, allocations: 15.86 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/1.565, allocations: 4 kB / 321.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/1.565, allocations: 0 / 321.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/1.565, allocations: 15.92 kB / 321.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/1.565, allocations: 57.5 kB / 321.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/1.566, allocations: 58.69 kB / 321.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.566, allocations: 0.6875 kB / 321.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.566, allocations: 0 / 321.4 MB, free: 9.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/1.566, allocations: 1.781 kB / 321.4 MB, free: 9.969 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005733/1.566, allocations: 381.2 kB / 321.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.566, allocations: 12.03 kB / 321.7 MB, free: 9.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/1.566, allocations: 8.844 kB / 321.7 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/1.566, allocations: 205.1 kB / 321.9 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.567, allocations: 8.375 kB / 322 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/1.567, allocations: 13.72 kB / 322 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/1.567, allocations: 122 kB / 322.1 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.567, allocations: 0 / 322.1 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/1.567, allocations: 0.6562 kB / 322.1 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/1.567, allocations: 0 / 322.1 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.291e-05/1.567, allocations: 8.531 kB / 322.1 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/1.567, allocations: 271 kB / 322.4 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/1.567, allocations: 22.58 kB / 322.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/1.567, allocations: 9.703 kB / 322.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/1.567, allocations: 2.344 kB / 322.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/1.568, allocations: 67.3 kB / 322.5 MB, free: 8.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 4.017e-06/1.568, allocations: 3.984 kB / 322.5 MB, free: 8.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000207/1.568, allocations: 61.59 kB / 322.5 MB, free: 8.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/1.568, allocations: 56.06 kB / 322.6 MB, free: 8.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.568, allocations: 154 kB / 322.7 MB, free: 8.387 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/1.568, allocations: 25.7 kB / 322.8 MB, free: 8.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/1.568, allocations: 92.14 kB / 322.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/1.568, allocations: 11.88 kB / 322.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/1.568, allocations: 0.6562 kB / 322.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/1.568, allocations: 322.6 kB / 323.2 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/1.568, allocations: 8 kB / 323.2 MB, free: 7.922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/1.568, allocations: 21.64 kB / 323.2 MB, free: 7.895 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/1.568, allocations: 29.72 kB / 323.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.568, allocations: 0 / 323.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.577e-05/1.569, allocations: 61.53 kB / 323.3 MB, free: 7.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.569, allocations: 8.812 kB / 323.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.569, allocations: 0 / 323.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.569, allocations: 0 / 323.3 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/1.569, allocations: 5.5 kB / 323.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.569, allocations: 0 / 323.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/1.569, allocations: 11.92 kB / 323.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.569, allocations: 4.75 kB / 323.3 MB, free: 7.766 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001034/1.569, allocations: 127.4 kB / 323.4 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/1.569, allocations: 7.906 kB / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/1.569, allocations: 12.25 kB / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/1.569, allocations: 0.5312 kB / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.569, allocations: 3.938 kB / 323.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.569, allocations: 7.281 kB / 323.5 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/1.569, allocations: 326.5 kB / 323.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.569, allocations: 0 / 323.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-06/1.569, allocations: 0 / 323.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.569, allocations: 0 / 323.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/1.569, allocations: 8.953 kB / 323.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.569, allocations: 4 kB / 323.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.569, allocations: 0 / 323.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/1.569, allocations: 153.5 kB / 324 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/1.57, allocations: 97 kB / 324.1 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.57, allocations: 3.938 kB / 324.1 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/1.57, allocations: 10.92 kB / 324.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.57, allocations: 4 kB / 324.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/1.57, allocations: 0 / 324.1 MB, free: 6.922 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.208e-05/1.57, allocations: 116.6 kB / 324.2 MB, free: 6.809 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.57, allocations: 0 / 324.2 MB, free: 6.809 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001955/1.57, allocations: 8 kB / 324.2 MB, free: 6.801 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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 8.735e-05/1.57, allocations: 101.4 kB / 324.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.262e-05/1.57, allocations: 32.62 kB / 324.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.57, allocations: 0 / 324.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/1.57, allocations: 16.11 kB / 324.3 MB, free: 6.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/1.571, allocations: 22.56 kB / 324.4 MB, free: 6.629 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/1.571, allocations: 189.2 kB / 324.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/1.571, allocations: 0.7004 MB / 325.2 MB, free: 5.691 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.129e-05/1.571, allocations: 4 kB / 325.3 MB, free: 5.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/1.571, allocations: 11.44 kB / 325.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of SimCode: time 3.41e-07/1.571, allocations: 0 / 325.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of Templates: time 0.002904/1.574, allocations: 0.7126 MB / 326 MB, free: 4.973 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)