Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 182.4 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 225.7 MB / 243.2 MB, free: 8.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007751/0.0007753, allocations: 95.5 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000228/0.0002281, allocations: 11.94 kB / 354.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2055, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001266/0.2068, allocations: 1.195 MB / 405.8 MB, free: 30.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.2073, allocations: 425.1 kB / 406.2 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.2073, allocations: 0 / 406.2 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.2074, allocations: 0.5 kB / 406.2 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.388e-05/0.2075, allocations: 20.69 kB / 406.2 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.2076, allocations: 24.8 kB / 406.2 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2077, allocations: 65.56 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.2078, allocations: 4 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.2079, allocations: 39.77 kB / 406.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.208, allocations: 29.09 kB / 406.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.2081, allocations: 0 / 406.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.2081, allocations: 4 kB / 406.4 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.2081, allocations: 15.86 kB / 406.4 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.2081, allocations: 50.81 kB / 406.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.358e-05/0.2082, allocations: 47.8 kB / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2082, allocations: 0 / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2083, allocations: 2.906 kB / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2083, allocations: 0 / 406.5 MB, free: 29.42 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005587/0.2088, allocations: 395.6 kB / 406.9 MB, free: 28.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2089, allocations: 12.03 kB / 406.9 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.2089, allocations: 4.844 kB / 406.9 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.209, allocations: 180.2 kB / 407 MB, free: 28.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.209, allocations: 4.375 kB / 407.1 MB, free: 28.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.209, allocations: 8.125 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.2093, allocations: 100.2 kB / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2093, allocations: 0 / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2093, allocations: 0 / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2093, allocations: 4 kB / 407.2 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.2095, allocations: 79.88 kB / 407.2 MB, free: 28.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.2097, allocations: 187.5 kB / 407.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.2099, allocations: 115.8 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.21, allocations: 62.53 kB / 407.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2101, allocations: 4 kB / 407.6 MB, free: 28.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.2101, allocations: 38.56 kB / 407.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2101, allocations: 0 / 407.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004465/0.2105, allocations: 165.5 kB / 407.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2106, allocations: 107.1 kB / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.2107, allocations: 134 kB / 408 MB, free: 27.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.2107, allocations: 25.7 kB / 408.1 MB, free: 27.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.2107, allocations: 96.08 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.2107, allocations: 7.812 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2107, allocations: 0 / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.2108, allocations: 322.8 kB / 408.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2109, allocations: 39.97 kB / 408.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.211, allocations: 54.55 kB / 408.6 MB, free: 27.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.2113, allocations: 106.5 kB / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2113, allocations: 0 / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002761/0.2116, allocations: 129.4 kB / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2116, allocations: 4 kB / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2116, allocations: 0 / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2116, allocations: 4 kB / 408.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2118, allocations: 23.97 kB / 408.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2118, allocations: 0 / 408.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.2119, allocations: 24.05 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.2119, allocations: 3.938 kB / 408.9 MB, free: 26.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.568e-05/0.212, allocations: 119 kB / 409 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.212, allocations: 15.84 kB / 409 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.212, allocations: 11.86 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.212, allocations: 4 kB / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2121, allocations: 0 / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2121, allocations: 0 / 409 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.397e-05/0.2122, allocations: 185.5 kB / 409.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2122, allocations: 0 / 409.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.2123, allocations: 23.97 kB / 409.2 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2123, allocations: 96 / 409.2 MB, free: 26.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2123, allocations: 7.984 kB / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2123, allocations: 0 / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2123, allocations: 0 / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.2126, allocations: 166.6 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.2126, allocations: 89.09 kB / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2127, allocations: 0 / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.2128, allocations: 15.98 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.2128, allocations: 0 / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2128, allocations: 7.984 kB / 409.5 MB, free: 26.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.2129, allocations: 103.3 kB / 409.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2129, allocations: 3.938 kB / 409.6 MB, free: 25.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.213, allocations: 8 kB / 409.6 MB, free: 25.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.502e-05/0.2131, allocations: 100.1 kB / 409.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.2134, allocations: 91.86 kB / 409.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2134, allocations: 0 / 409.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2136, allocations: 56.22 kB / 409.8 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.2137, allocations: 3.938 kB / 409.8 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.2142, allocations: 216.2 kB / 410.1 MB, free: 25.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.859e-05/0.2143, allocations: 0.6887 MB / 410.7 MB, free: 24.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.2143, allocations: 4 kB / 410.8 MB, free: 24.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.2144, allocations: 11.42 kB / 410.8 MB, free: 24.67 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2144, allocations: 4 kB / 410.8 MB, free: 24.66 MB / 298.7 MB Notification: Performance of Templates: time 0.002007/0.2164, allocations: 0.5047 MB / 411.3 MB, free: 24.16 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches