Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.001416, allocations: 181.8 kB / 16.71 MB, free: 4.844 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.254/1.254, allocations: 225.7 MB / 243.2 MB, free: 10.24 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.0007602/0.0007604, allocations: 98.05 kB / 294.4 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002327/0.0002327, allocations: 11.94 kB / 354.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1853, allocations: 50.41 MB / 404.6 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.002416/0.1878, allocations: 2.988 MB / 407.6 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00097/0.1888, allocations: 0.8836 MB / 408.4 MB, free: 27.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.189, allocations: 8 kB / 408.5 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.1892, allocations: 79.45 kB / 408.5 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1894, allocations: 128.5 kB / 408.7 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1897, allocations: 144.8 kB / 408.8 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.19, allocations: 0.5958 MB / 409.4 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1902, allocations: 170.3 kB / 409.6 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1904, allocations: 211 kB / 409.8 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1906, allocations: 238.7 kB / 410 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.1907, allocations: 35.94 kB / 410 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.1907, allocations: 28 kB / 410.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.1908, allocations: 99.53 kB / 410.2 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1909, allocations: 276.2 kB / 410.4 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1912, allocations: 0.585 MB / 411 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1913, allocations: 0 / 411 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1913, allocations: 4 kB / 411 MB, free: 24.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1913, allocations: 4 kB / 411 MB, free: 24.93 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0009971/0.1923, allocations: 0.7694 MB / 411.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1923, allocations: 8.031 kB / 411.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1924, allocations: 72.19 kB / 411.9 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1927, allocations: 339.1 kB / 412.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.1927, allocations: 41.69 kB / 412.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.1928, allocations: 48.38 kB / 412.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.1935, allocations: 446.4 kB / 412.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1935, allocations: 4 kB / 412.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.1936, allocations: 23.94 kB / 412.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1936, allocations: 12 kB / 412.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.1943, allocations: 409 kB / 413.2 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1961, allocations: 1.593 MB / 414.8 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.1967, allocations: 411.7 kB / 415.2 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.197, allocations: 185.4 kB / 415.3 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1971, allocations: 12.3 kB / 415.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.1971, allocations: 38.89 kB / 415.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.1971, allocations: 0 / 415.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002615/0.1997, allocations: 1.278 MB / 416.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.1998, allocations: 59.97 kB / 416.7 MB, free: 18.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2001, allocations: 393.5 kB / 417.1 MB, free: 18.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2001, allocations: 29.7 kB / 417.1 MB, free: 18.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2002, allocations: 303.8 kB / 417.4 MB, free: 18.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.2003, allocations: 185.3 kB / 417.6 MB, free: 18.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.2003, allocations: 12 kB / 417.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.2004, allocations: 354.8 kB / 418 MB, free: 17.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2007, allocations: 193.2 kB / 418.2 MB, free: 17.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.2011, allocations: 307 kB / 418.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.2018, allocations: 0.5102 MB / 419 MB, free: 16.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2018, allocations: 0 / 419 MB, free: 16.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001113/0.203, allocations: 0.7577 MB / 419.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.203, allocations: 8 kB / 419.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.203, allocations: 4 kB / 419.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.2034, allocations: 181.6 kB / 419.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.2039, allocations: 115.8 kB / 420 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.2065, allocations: 3.873 MB / 423.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.2068, allocations: 31.98 kB / 423.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2069, allocations: 24 kB / 424 MB, free: 11.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.2071, allocations: 189.9 kB / 424.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.2071, allocations: 47.44 kB / 424.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.629e-05/0.2072, allocations: 57.03 kB / 424.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2072, allocations: 7.938 kB / 424.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.2072, allocations: 4 kB / 424.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2072, allocations: 7.984 kB / 424.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.209, allocations: 1.331 MB / 425.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.209, allocations: 4 kB / 425.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.2093, allocations: 75.89 kB / 425.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.2096, allocations: 157.7 kB / 425.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.2096, allocations: 16 kB / 425.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.2119, allocations: 3.693 MB / 429.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2119, allocations: 0 / 429.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.2128, allocations: 0.7237 MB / 430.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.2129, allocations: 124.5 kB / 430.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.213, allocations: 8 kB / 430.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.2132, allocations: 31.97 kB / 430.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.2133, allocations: 44.38 kB / 430.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2134, allocations: 16 kB / 430.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.2136, allocations: 275.2 kB / 430.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2136, allocations: 0 / 430.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005682/0.2142, allocations: 152 kB / 430.9 MB, free: 3.961 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.487e-05/0.2143, allocations: 115.2 kB / 431 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2154, allocations: 0.8003 MB / 431.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2154, allocations: 0.8125 kB / 431.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.216, allocations: 0.5311 MB / 432.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.2165, allocations: 61.47 kB / 432.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2178, allocations: 1.191 MB / 433.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2181, allocations: 0.863 MB / 434.5 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.2182, allocations: 44.36 kB / 434.5 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.2183, allocations: 31.44 kB / 434.5 MB, free: 212 kB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2183, allocations: 192 / 434.5 MB, free: 212 kB / 298.7 MB Notification: Performance of Templates: time 0.008238/0.2266, allocations: 4.638 MB / 439.2 MB, free: 11.57 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches