Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007882/0.0007882, allocations: 99.98 kB / 299.9 MB, free: 5.375 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 4 kB / 360.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 51.41 MB / 412 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001374/0.2074, allocations: 1.265 MB / 413.3 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.208, allocations: 0.7299 MB / 414 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.2081, allocations: 5 kB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.2081, allocations: 0 / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2083, allocations: 10.52 kB / 414.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.2085, allocations: 47.84 kB / 414.1 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.2086, allocations: 43.8 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.2087, allocations: 23.95 kB / 414.2 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.2087, allocations: 18.97 kB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.222e-05/0.2088, allocations: 23.86 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.2088, allocations: 0 / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.245e-05/0.2089, allocations: 4 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.2089, allocations: 19.91 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.2089, allocations: 45.52 kB / 414.3 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.563e-05/0.209, allocations: 55.78 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.209, allocations: 0 / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.209, allocations: 2.562 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.209, allocations: 0 / 414.3 MB, free: 23.59 MB / 298.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.0003123/0.2094, allocations: 372.7 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.2094, allocations: 8.031 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2095, allocations: 24.83 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2097, allocations: 188.2 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.2097, allocations: 4.375 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.2097, allocations: 4.375 kB / 414.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.2099, allocations: 109.3 kB / 415 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2099, allocations: 0 / 415 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2099, allocations: 0 / 415 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2099, allocations: 4 kB / 415 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.21, allocations: 23.97 kB / 415.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.2102, allocations: 273.6 kB / 415.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/0.2103, allocations: 45.2 kB / 415.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.2103, allocations: 21.78 kB / 415.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2104, allocations: 3.984 kB / 415.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.2104, allocations: 42.5 kB / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2104, allocations: 0 / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002204/0.2106, allocations: 77.52 kB / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2106, allocations: 77.11 kB / 415.6 MB, free: 22.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.2107, allocations: 146.7 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.2107, allocations: 25.7 kB / 415.8 MB, free: 21.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.2108, allocations: 88.14 kB / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.2108, allocations: 4 kB / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.2108, allocations: 0 / 415.8 MB, free: 21.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.472e-05/0.2108, allocations: 314.8 kB / 416.2 MB, free: 21.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.2109, allocations: 12 kB / 416.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.2109, allocations: 25.7 kB / 416.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.211, allocations: 41.52 kB / 416.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.211, allocations: 4 kB / 416.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.508e-05/0.2111, allocations: 61.66 kB / 416.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.2111, allocations: 7.938 kB / 416.3 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2111, allocations: 4 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2111, allocations: 0 / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.2112, allocations: 15.92 kB / 416.3 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.2112, allocations: 0 / 416.3 MB, free: 21.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.2113, allocations: 4 kB / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2113, allocations: 0 / 416.3 MB, free: 21.34 MB / 298.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 4.35e-05/0.2113, allocations: 129.8 kB / 416.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.2114, allocations: 37.61 kB / 416.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.2114, allocations: 11.88 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2114, allocations: 0 / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2114, allocations: 0 / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2114, allocations: 0 / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2115, allocations: 177.5 kB / 416.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2115, allocations: 0 / 416.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.2116, allocations: 7.984 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2116, allocations: 4.031 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.2116, allocations: 0 / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2116, allocations: 4 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2116, allocations: 3.938 kB / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.2117, allocations: 160.3 kB / 416.9 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.2118, allocations: 93 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.2118, allocations: 4 kB / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.2118, allocations: 4 kB / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.2119, allocations: 0 / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2119, allocations: 0 / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.2119, allocations: 107.2 kB / 417.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2119, allocations: 0 / 417.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.2121, allocations: 4 kB / 417.1 MB, free: 20.5 MB / 298.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 6.086e-05/0.2122, allocations: 107.3 kB / 417.2 MB, free: 20.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2123, allocations: 27.92 kB / 417.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2123, allocations: 0 / 417.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.2124, allocations: 15.98 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.2127, allocations: 16.09 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.2129, allocations: 197.1 kB / 417.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.485e-05/0.213, allocations: 0.6848 MB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.213, allocations: 7.984 kB / 418.1 MB, free: 19.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.2131, allocations: 15.44 kB / 418.1 MB, free: 19.37 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2131, allocations: 0 / 418.1 MB, free: 19.37 MB / 298.7 MB Notification: Performance of Templates: time 0.001912/0.215, allocations: 487.6 kB / 418.6 MB, free: 18.9 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches