Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008138/0.0008138, allocations: 178.8 kB / 16.71 MB, free: 5.09 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.195/1.195, allocations: 225.7 MB / 243.2 MB, free: 8.508 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.0007535/0.0007535, allocations: 89.25 kB / 294.4 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002355, allocations: 11.94 kB / 354.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2064, allocations: 50.41 MB / 404.6 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.001622/0.2081, allocations: 1.631 MB / 406.2 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006859/0.2088, allocations: 0.5284 MB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.2089, allocations: 4 kB / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.209, allocations: 36.5 kB / 406.8 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.2091, allocations: 29.56 kB / 406.8 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.2093, allocations: 55.95 kB / 406.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.2094, allocations: 195.8 kB / 407 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2096, allocations: 72.64 kB / 407.1 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.2097, allocations: 59.66 kB / 407.2 MB, free: 28.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2098, allocations: 68.78 kB / 407.2 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.2099, allocations: 4 kB / 407.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.2099, allocations: 7.938 kB / 407.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.2099, allocations: 24.8 kB / 407.3 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.21, allocations: 93.19 kB / 407.4 MB, free: 28.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.2101, allocations: 156.9 kB / 407.5 MB, free: 28.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2101, allocations: 0 / 407.5 MB, free: 28.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2101, allocations: 0 / 407.5 MB, free: 28.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2101, allocations: 0 / 407.5 MB, free: 28.41 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000489/0.2106, allocations: 466.7 kB / 408 MB, free: 27.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2107, allocations: 12.03 kB / 408 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.2107, allocations: 24.66 kB / 408 MB, free: 27.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2109, allocations: 243.7 kB / 408.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2109, allocations: 8.375 kB / 408.3 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.211, allocations: 20.12 kB / 408.3 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2112, allocations: 168.1 kB / 408.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2112, allocations: 0 / 408.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2113, allocations: 4 kB / 408.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2113, allocations: 8 kB / 408.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.2115, allocations: 107.9 kB / 408.6 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.2122, allocations: 0.6371 MB / 409.2 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2124, allocations: 131.8 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.2125, allocations: 66.61 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.2125, allocations: 4 kB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2125, allocations: 34.56 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2125, allocations: 4 kB / 409.4 MB, free: 26.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004032/0.2129, allocations: 185.4 kB / 409.6 MB, free: 26.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.213, allocations: 106.8 kB / 409.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2132, allocations: 233.1 kB / 409.9 MB, free: 25.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2132, allocations: 29.7 kB / 410 MB, free: 25.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.2132, allocations: 132 kB / 410.1 MB, free: 25.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.2133, allocations: 43.36 kB / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.2133, allocations: 4 kB / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.2133, allocations: 334.8 kB / 410.5 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.2134, allocations: 43.97 kB / 410.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/0.2135, allocations: 106.7 kB / 410.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.2138, allocations: 150.7 kB / 410.8 MB, free: 24.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2138, allocations: 4 kB / 410.8 MB, free: 24.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002706/0.2141, allocations: 181.3 kB / 410.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2141, allocations: 11.92 kB / 411 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2141, allocations: 4.188 kB / 411 MB, free: 24.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2141, allocations: 4 kB / 411 MB, free: 24.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2142, allocations: 31.98 kB / 411 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2143, allocations: 4 kB / 411 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.2144, allocations: 23.77 kB / 411 MB, free: 24.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2144, allocations: 8 kB / 411 MB, free: 24.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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 7.894e-05/0.2145, allocations: 138.2 kB / 411.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.2145, allocations: 19.72 kB / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.2149, allocations: 198.8 kB / 411.4 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2149, allocations: 8.594 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2149, allocations: 3.938 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2149, allocations: 4 kB / 411.4 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.2152, allocations: 273.4 kB / 411.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2153, allocations: 4 kB / 411.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2154, allocations: 35.98 kB / 411.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2154, allocations: 7.984 kB / 411.7 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2155, allocations: 0 / 411.7 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2155, allocations: 4 kB / 411.7 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2155, allocations: 0 / 411.7 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.2159, allocations: 485.5 kB / 412.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.216, allocations: 104.8 kB / 412.3 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.216, allocations: 3.984 kB / 412.3 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.2162, allocations: 16 kB / 412.3 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.2162, allocations: 11.97 kB / 412.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2163, allocations: 4 kB / 412.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2164, allocations: 176.4 kB / 412.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2164, allocations: 0 / 412.5 MB, free: 23.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.2167, allocations: 28 kB / 412.5 MB, free: 22.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (17): * Single equations (assignments): 17 * 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 0.0001257/0.2168, allocations: 116.5 kB / 412.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.2171, allocations: 119.9 kB / 412.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2171, allocations: 0 / 412.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.2172, allocations: 72.22 kB / 412.8 MB, free: 22.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2176, allocations: 12.44 kB / 412.8 MB, free: 22.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.2185, allocations: 0.7517 MB / 413.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2187, allocations: 0.7439 MB / 414.3 MB, free: 21.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.2188, allocations: 21.53 kB / 414.4 MB, free: 21.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.2188, allocations: 19.44 kB / 414.4 MB, free: 21.07 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2188, allocations: 0 / 414.4 MB, free: 21.07 MB / 298.7 MB Notification: Performance of Templates: time 0.003196/0.222, allocations: 1.228 MB / 415.6 MB, free: 19.84 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches