Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007885, allocations: 94.64 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.07323/0.07323, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.000164/0.0001637, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005383/0.005561, allocations: 2.823 MB / 43.1 MB, free: 6.066 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.SubSample): time 1.422/1.427, allocations: 277.5 MB / 320.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00069/1.428, allocations: 448.4 kB / 321.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/1.428, allocations: 0 / 321.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/1.428, allocations: 5.906 kB / 321.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/1.428, allocations: 11.92 kB / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/1.428, allocations: 43.89 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.276e-05/1.428, allocations: 39.86 kB / 321.2 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/1.429, allocations: 29.28 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/1.429, allocations: 24.53 kB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/1.429, allocations: 15.86 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/1.429, allocations: 0.625 kB / 321.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/1.429, allocations: 5.156 kB / 321.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/1.429, allocations: 11.94 kB / 321.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/1.429, allocations: 49.5 kB / 321.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.063e-05/1.429, allocations: 53.47 kB / 321.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.429, allocations: 0 / 321.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.893e-06/1.429, allocations: 0 / 321.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/1.429, allocations: 0 / 321.4 MB, free: 10.01 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.0004528/1.429, allocations: 359.3 kB / 321.7 MB, free: 9.609 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.429, allocations: 8.031 kB / 321.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/1.429, allocations: 9.875 kB / 321.7 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/1.43, allocations: 205.6 kB / 321.9 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/1.43, allocations: 3.344 kB / 321.9 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/1.43, allocations: 8.375 kB / 321.9 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/1.43, allocations: 106 kB / 322.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.43, allocations: 0 / 322.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/1.43, allocations: 5.719 kB / 322.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/1.43, allocations: 0 / 322.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/1.43, allocations: 21.3 kB / 322.1 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/1.43, allocations: 266.3 kB / 322.3 MB, free: 8.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/1.43, allocations: 41.5 kB / 322.4 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/1.431, allocations: 25.77 kB / 322.4 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.431, allocations: 3.938 kB / 322.4 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/1.431, allocations: 34.56 kB / 322.4 MB, free: 8.758 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.431, allocations: 1.969 kB / 322.4 MB, free: 8.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002291/1.431, allocations: 74.36 kB / 322.5 MB, free: 8.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.431, allocations: 83.83 kB / 322.6 MB, free: 8.582 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.431, allocations: 135.5 kB / 322.7 MB, free: 8.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/1.431, allocations: 25.7 kB / 322.8 MB, free: 8.406 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/1.431, allocations: 92.12 kB / 322.8 MB, free: 8.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/1.431, allocations: 3.906 kB / 322.8 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/1.431, allocations: 0 / 322.8 MB, free: 8.309 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/1.431, allocations: 315.6 kB / 323.2 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/1.431, allocations: 17.14 kB / 323.2 MB, free: 7.977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/1.431, allocations: 22.75 kB / 323.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.839e-05/1.431, allocations: 40.42 kB / 323.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.431, allocations: 3.938 kB / 323.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/1.432, allocations: 60.02 kB / 323.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.432, allocations: 4 kB / 323.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.432, allocations: 0 / 323.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.432, allocations: 3.938 kB / 323.3 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/1.432, allocations: 8.625 kB / 323.3 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.432, allocations: 3.094 kB / 323.3 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/1.432, allocations: 7.984 kB / 323.3 MB, free: 7.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/1.432, allocations: 4 kB / 323.3 MB, free: 7.812 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.222e-05/1.432, allocations: 117.7 kB / 323.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/1.432, allocations: 41.61 kB / 323.5 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/1.432, allocations: 11.86 kB / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.432, allocations: 1.188 kB / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.432, allocations: 0 / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.432, allocations: 0 / 323.5 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/1.432, allocations: 174.8 kB / 323.7 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.432, allocations: 0 / 323.7 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/1.432, allocations: 4 kB / 323.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.432, allocations: 6.844 kB / 323.7 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.432, allocations: 11.98 kB / 323.7 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.432, allocations: 0 / 323.7 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.432, allocations: 0 / 323.7 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/1.432, allocations: 165.7 kB / 323.9 MB, free: 7.207 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/1.432, allocations: 97.62 kB / 323.9 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/1.433, allocations: 0 / 323.9 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/1.433, allocations: 12.42 kB / 324 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/1.433, allocations: 0 / 324 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/1.433, allocations: 0 / 324 MB, free: 7.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.625e-05/1.433, allocations: 105 kB / 324.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.433, allocations: 0 / 324.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002122/1.433, allocations: 11.98 kB / 324.1 MB, free: 6.969 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 9.68e-05/1.433, allocations: 99.19 kB / 324.2 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/1.433, allocations: 27.98 kB / 324.2 MB, free: 6.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.433, allocations: 4 kB / 324.2 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/1.433, allocations: 8 kB / 324.2 MB, free: 6.824 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/1.434, allocations: 35.81 kB / 324.2 MB, free: 6.789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/1.434, allocations: 189.6 kB / 324.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.434, allocations: 0.6887 MB / 325.1 MB, free: 5.859 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/1.434, allocations: 4 kB / 325.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/1.434, allocations: 7.438 kB / 325.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of SimCode: time 3.71e-07/1.434, allocations: 0 / 325.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of Templates: time 0.002434/1.437, allocations: 490.9 kB / 325.6 MB, free: 5.379 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches