Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009883/0.0009883, allocations: 196.1 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.315/1.315, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008585/0.0008584, allocations: 95.03 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002292/0.0002292, allocations: 4 kB / 360.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.19, allocations: 51.4 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002124/0.1922, allocations: 2.415 MB / 414.5 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.1931, allocations: 0.8899 MB / 415.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1932, allocations: 4 kB / 415.4 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1934, allocations: 55.61 kB / 415.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1936, allocations: 79.44 kB / 415.5 MB, free: 22.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1938, allocations: 95.16 kB / 415.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.194, allocations: 382.5 kB / 416 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1942, allocations: 111.5 kB / 416.1 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.1944, allocations: 143.4 kB / 416.2 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1946, allocations: 151.2 kB / 416.4 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1946, allocations: 20 kB / 416.4 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.1947, allocations: 16 kB / 416.4 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1947, allocations: 71.67 kB / 416.5 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1949, allocations: 180.8 kB / 416.6 MB, free: 21.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.1952, allocations: 388 kB / 417 MB, free: 20.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1952, allocations: 0 / 417 MB, free: 20.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1952, allocations: 0 / 417 MB, free: 20.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1952, allocations: 0 / 417 MB, free: 20.9 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009875/0.1962, allocations: 0.6043 MB / 417.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1963, allocations: 8.031 kB / 417.6 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.1963, allocations: 36.47 kB / 417.7 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1966, allocations: 272.6 kB / 417.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1966, allocations: 29.03 kB / 418 MB, free: 19.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.1967, allocations: 32.36 kB / 418 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.1972, allocations: 298.4 kB / 418.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1972, allocations: 0 / 418.3 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1972, allocations: 16 kB / 418.3 MB, free: 19.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1973, allocations: 8 kB / 418.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.1978, allocations: 266.5 kB / 418.6 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1992, allocations: 1.135 MB / 419.7 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1995, allocations: 158.5 kB / 419.9 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1997, allocations: 76.81 kB / 419.9 MB, free: 17.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1997, allocations: 0 / 419.9 MB, free: 17.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1997, allocations: 38.56 kB / 420 MB, free: 17.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.1997, allocations: 0 / 420 MB, free: 17.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001856/0.2016, allocations: 0.6716 MB / 420.6 MB, free: 17.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.2016, allocations: 51.41 kB / 420.7 MB, free: 16.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2019, allocations: 282.6 kB / 421 MB, free: 16.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2019, allocations: 29.7 kB / 421 MB, free: 16.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.202, allocations: 227.5 kB / 421.2 MB, free: 16.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.202, allocations: 74.98 kB / 421.3 MB, free: 16.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.202, allocations: 8 kB / 421.3 MB, free: 16.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.2021, allocations: 334.8 kB / 421.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.2023, allocations: 107.9 kB / 421.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.2026, allocations: 215.7 kB / 421.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.2032, allocations: 315.3 kB / 422.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2032, allocations: 0 / 422.3 MB, free: 15.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007397/0.2039, allocations: 432 kB / 422.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.204, allocations: 8 kB / 422.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.204, allocations: 7.938 kB / 422.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.2042, allocations: 65.61 kB / 422.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.2045, allocations: 71.89 kB / 422.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.2058, allocations: 2.639 MB / 425.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.2061, allocations: 27.97 kB / 425.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2061, allocations: 16.06 kB / 425.5 MB, free: 11.77 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2062, allocations: 153.7 kB / 425.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.2063, allocations: 31.56 kB / 425.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.2064, allocations: 30.17 kB / 425.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2064, allocations: 4 kB / 425.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2064, allocations: 0 / 425.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2064, allocations: 0 / 425.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.2067, allocations: 333.5 kB / 426 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2067, allocations: 4 kB / 426 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.2069, allocations: 43.97 kB / 426.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.207, allocations: 65.55 kB / 426.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2071, allocations: 8 kB / 426.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.2082, allocations: 2.624 MB / 428.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2082, allocations: 0 / 428.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.2088, allocations: 399.6 kB / 429.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.2089, allocations: 108.7 kB / 429.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.2089, allocations: 11.94 kB / 429.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2091, allocations: 19.97 kB / 429.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.2092, allocations: 23.92 kB / 429.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2092, allocations: 4 kB / 429.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.2094, allocations: 194 kB / 429.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2094, allocations: 4 kB / 429.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000347/0.2097, allocations: 76 kB / 429.6 MB, free: 7.297 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.2098, allocations: 107.2 kB / 429.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007652/0.2106, allocations: 0.4932 MB / 430.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2106, allocations: 0 / 430.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.211, allocations: 358 kB / 430.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2114, allocations: 30.61 kB / 430.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.2122, allocations: 0.7176 MB / 431.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2124, allocations: 0.7752 MB / 432.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2125, allocations: 26.28 kB / 432.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.2126, allocations: 19.44 kB / 432.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2126, allocations: 4 kB / 432.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of Templates: time 0.004875/0.2175, allocations: 2.557 MB / 434.7 MB, free: 2.117 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches