Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 202.4 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 229.5 MB / 247.7 MB, free: 6.312 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000746/0.000746, allocations: 99.42 kB / 299.8 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002036/0.0002037, allocations: 4 kB / 360.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1886, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00372/0.1923, allocations: 4.37 MB / 416.4 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.1954, allocations: 3.619 MB / 420 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.1959, allocations: 16 kB / 420.1 MB, free: 17.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007711/0.1967, allocations: 302.8 kB / 420.4 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.1978, allocations: 0.5121 MB / 420.9 MB, free: 16.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.1998, allocations: 2.358 MB / 423.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.2006, allocations: 0.7197 MB / 423.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.2025, allocations: 2.114 MB / 426.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.2029, allocations: 290.8 kB / 426.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.2032, allocations: 382.4 kB / 426.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.2032, allocations: 36 kB / 426.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006943/0.2039, allocations: 371.5 kB / 427.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.204, allocations: 123.5 kB / 427.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.2042, allocations: 363.8 kB / 427.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008288/0.205, allocations: 1.158 MB / 428.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2051, allocations: 0 / 428.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2051, allocations: 3.938 kB / 428.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.2051, allocations: 3.938 kB / 428.8 MB, free: 8.184 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003445/0.2085, allocations: 1.338 MB / 430.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.2086, allocations: 12.03 kB / 430.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.2109, allocations: 391.6 kB / 430.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2111, allocations: 271.1 kB / 430.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2112, allocations: 66.38 kB / 430.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.2113, allocations: 80.38 kB / 430.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.2127, allocations: 0.8954 MB / 431.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.2128, allocations: 0 / 431.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.2129, allocations: 36 kB / 431.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2129, allocations: 23.94 kB / 431.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.2144, allocations: 0.8276 MB / 432.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.2178, allocations: 3.044 MB / 435.7 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.2188, allocations: 1.008 MB / 436.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.2193, allocations: 250.4 kB / 437 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.2195, allocations: 178.7 kB / 437.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2195, allocations: 39.12 kB / 437.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.938e-06/0.2195, allocations: 0 / 437.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.007904/0.2274, allocations: 2.7 MB / 439.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2275, allocations: 85.67 kB / 440 MB, free: 12.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.2279, allocations: 312.4 kB / 440.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.2279, allocations: 37.7 kB / 440.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.2281, allocations: 362.6 kB / 440.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.2282, allocations: 212.9 kB / 440.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.2283, allocations: 16 kB / 440.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2284, allocations: 354.7 kB / 441.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.2292, allocations: 289.8 kB / 441.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009437/0.2302, allocations: 0.5355 MB / 442.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.2319, allocations: 0.8505 MB / 442.9 MB, free: 9.191 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2319, allocations: 4 kB / 442.9 MB, free: 9.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002073/0.234, allocations: 0.9455 MB / 443.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.234, allocations: 8 kB / 443.9 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.234, allocations: 11.94 kB / 443.9 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.2343, allocations: 73.7 kB / 443.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.2353, allocations: 215.7 kB / 444.2 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.2374, allocations: 2.659 MB / 446.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008464/0.2383, allocations: 76 kB / 446.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.2384, allocations: 39.98 kB / 446.9 MB, free: 4.879 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002904/0.2387, allocations: 223.9 kB / 447.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.2388, allocations: 39.53 kB / 447.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.2407, allocations: 0.7819 MB / 448 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2407, allocations: 8 kB / 448 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.2408, allocations: 0 / 448 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2408, allocations: 3.984 kB / 448 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.2435, allocations: 1.485 MB / 449.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2435, allocations: 0 / 449.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.2442, allocations: 147.8 kB / 449.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.2444, allocations: 69.61 kB / 449.7 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.2444, allocations: 15.98 kB / 449.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.2462, allocations: 2.655 MB / 452.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2462, allocations: 0 / 452.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.2487, allocations: 1.156 MB / 453.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.249, allocations: 164.5 kB / 453.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/0.249, allocations: 12 kB / 453.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.2495, allocations: 60.02 kB / 453.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2497, allocations: 48.42 kB / 453.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.2497, allocations: 27.98 kB / 453.8 MB, free: 13.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.2499, allocations: 215.1 kB / 454 MB, free: 13.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2499, allocations: 0 / 454 MB, free: 13.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006342/0.2506, allocations: 172 kB / 454.2 MB, free: 13.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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,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.000246/0.2508, allocations: 171 kB / 454.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.2528, allocations: 0.9554 MB / 455.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2528, allocations: 4 kB / 455.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.2538, allocations: 0.5747 MB / 455.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.2542, allocations: 45.03 kB / 455.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.2568, allocations: 1.63 MB / 457.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2572, allocations: 0.8888 MB / 458.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004921/0.2577, allocations: 92.52 kB / 458.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.2579, allocations: 55.41 kB / 458.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2579, allocations: 0 / 458.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of Templates: time 0.01046/0.2684, allocations: 6.066 MB / 464.7 MB, free: 2.637 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches