Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007911/0.0007912, allocations: 94.75 kB / 16.04 MB, free: 5.598 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.07279/0.07279, allocations: 12.63 MB / 29.41 MB, free: 6.066 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001559/0.0001559, allocations: 4 kB / 40.28 MB, free: 0.6055 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00488/0.00505, allocations: 2.827 MB / 43.1 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.ClockSignals.SuperSample): time 1.393/1.398, allocations: 277.5 MB / 320.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006763/1.399, allocations: 464.8 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/1.399, allocations: 0 / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/1.399, allocations: 3.938 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/1.399, allocations: 15.92 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/1.4, allocations: 44.55 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.625e-05/1.4, allocations: 40.64 kB / 321.2 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.4, allocations: 29.72 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/1.4, allocations: 19.91 kB / 321.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/1.4, allocations: 15.88 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/1.4, allocations: 6.906 kB / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/1.4, allocations: 0 / 321.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/1.4, allocations: 11.92 kB / 321.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/1.4, allocations: 53.45 kB / 321.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.585e-05/1.4, allocations: 50.75 kB / 321.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.4, allocations: 7.984 kB / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/1.4, allocations: 0 / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/1.4, allocations: 0 / 321.4 MB, free: 9.941 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000382/1.401, allocations: 360.5 kB / 321.8 MB, free: 9.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/1.401, allocations: 14.66 kB / 321.8 MB, free: 9.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/1.401, allocations: 8.844 kB / 321.8 MB, free: 9.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/1.401, allocations: 197.6 kB / 322 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/1.401, allocations: 4.375 kB / 322 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/1.401, allocations: 4.359 kB / 322 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/1.401, allocations: 108.3 kB / 322.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/1.401, allocations: 0 / 322.1 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/1.401, allocations: 4 kB / 322.1 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.401, allocations: 0 / 322.1 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/1.401, allocations: 21.64 kB / 322.1 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/1.402, allocations: 268.4 kB / 322.4 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/1.402, allocations: 45.92 kB / 322.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/1.402, allocations: 20.52 kB / 322.4 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/1.402, allocations: 4.75 kB / 322.4 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.402, allocations: 39.3 kB / 322.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.402, allocations: 1.031 kB / 322.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002158/1.402, allocations: 71.31 kB / 322.5 MB, free: 8.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.402, allocations: 77.73 kB / 322.6 MB, free: 8.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/1.402, allocations: 145 kB / 322.8 MB, free: 8.371 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.402, allocations: 25.7 kB / 322.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/1.402, allocations: 88.92 kB / 322.9 MB, free: 8.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/1.402, allocations: 3.906 kB / 322.9 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.402, allocations: 0 / 322.9 MB, free: 8.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/1.402, allocations: 320.4 kB / 323.2 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/1.402, allocations: 8 kB / 323.2 MB, free: 7.918 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/1.403, allocations: 23.95 kB / 323.2 MB, free: 7.891 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/1.403, allocations: 43.52 kB / 323.3 MB, free: 7.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.403, allocations: 3.938 kB / 323.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/1.403, allocations: 58.94 kB / 323.3 MB, free: 7.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.403, allocations: 5.344 kB / 323.3 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.403, allocations: 4 kB / 323.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.403, allocations: 3.938 kB / 323.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/1.403, allocations: 10.05 kB / 323.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/1.403, allocations: 0 / 323.4 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/1.403, allocations: 4 kB / 323.4 MB, free: 7.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/1.403, allocations: 0 / 323.4 MB, free: 7.754 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.796e-05/1.403, allocations: 139.7 kB / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/1.403, allocations: 33.61 kB / 323.5 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/1.403, allocations: 11.88 kB / 323.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/1.403, allocations: 0 / 323.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.403, allocations: 1.156 kB / 323.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.403, allocations: 7.984 kB / 323.5 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/1.403, allocations: 165.6 kB / 323.7 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.403, allocations: 6.203 kB / 323.7 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/1.403, allocations: 8 kB / 323.7 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.403, allocations: 3.938 kB / 323.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/1.403, allocations: 0 / 323.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/1.403, allocations: 0 / 323.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.403, allocations: 0 / 323.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/1.404, allocations: 167.7 kB / 323.9 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/1.404, allocations: 96.94 kB / 324 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.404, allocations: 3.984 kB / 324 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/1.404, allocations: 8.438 kB / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/1.404, allocations: 0 / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/1.404, allocations: 4 kB / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.478e-05/1.404, allocations: 109.5 kB / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.404, allocations: 0 / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001981/1.404, allocations: 4 kB / 324.1 MB, free: 6.902 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.375e-05/1.404, allocations: 103.2 kB / 324.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/1.404, allocations: 27.98 kB / 324.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.404, allocations: 0 / 324.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/1.404, allocations: 15.98 kB / 324.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/1.405, allocations: 27.89 kB / 324.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/1.405, allocations: 185.7 kB / 324.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/1.405, allocations: 0.6848 MB / 325.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/1.405, allocations: 3.984 kB / 325.2 MB, free: 5.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/1.405, allocations: 11.44 kB / 325.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of SimCode: time 3.31e-07/1.405, allocations: 0 / 325.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of Templates: time 0.002177/1.407, allocations: 490 kB / 325.6 MB, free: 5.312 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches