Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 184 kB / 16.71 MB, free: 4.969 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.232/1.232, 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.0007909/0.0007909, allocations: 86.64 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.0002357, allocations: 11.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1841, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.004556/0.1887, allocations: 5.621 MB / 410.2 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.1919, allocations: 3.485 MB / 413.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.1922, allocations: 22.22 kB / 413.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005906/0.1928, allocations: 334.5 kB / 414 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.194, allocations: 0.987 MB / 415 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.1957, allocations: 2.08 MB / 417.1 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.1964, allocations: 1.024 MB / 418.1 MB, free: 17.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.1981, allocations: 1.976 MB / 420.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.1984, allocations: 370.4 kB / 420.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.1988, allocations: 485.7 kB / 420.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/0.1989, allocations: 44 kB / 421 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.1994, allocations: 347.6 kB / 421.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1995, allocations: 175.2 kB / 421.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.1998, allocations: 491.1 kB / 422 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009094/0.2007, allocations: 1.426 MB / 423.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2008, allocations: 3.938 kB / 423.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2008, allocations: 4 kB / 423.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2008, allocations: 0 / 423.4 MB, free: 11.62 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.003047/0.2038, allocations: 1.441 MB / 424.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2039, allocations: 15.95 kB / 424.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.2066, allocations: 487.2 kB / 425.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.2071, allocations: 494.2 kB / 425.8 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.2072, allocations: 82.22 kB / 425.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.2073, allocations: 108 kB / 426 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.2089, allocations: 0.9667 MB / 427 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.2089, allocations: 7.984 kB / 427 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.209, allocations: 40 kB / 427 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2091, allocations: 28 kB / 427 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.2106, allocations: 0.9691 MB / 428 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.2151, allocations: 3.708 MB / 431.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2166, allocations: 1.544 MB / 433.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.2173, allocations: 436.4 kB / 433.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/0.2173, allocations: 102.1 kB / 433.8 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006782/0.218, allocations: 470.5 kB / 434.2 MB, free: 216 kB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 3.005e-06/0.218, allocations: 4 kB / 434.3 MB, free: 212 kB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.007955/0.226, allocations: 4.028 MB / 438.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.2261, allocations: 141.5 kB / 438.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.2265, allocations: 397.5 kB / 438.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.2266, allocations: 45.7 kB / 438.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.2268, allocations: 423.6 kB / 439.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.2271, allocations: 425.8 kB / 439.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.2271, allocations: 24 kB / 439.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2273, allocations: 378.8 kB / 440.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.2279, allocations: 346.5 kB / 440.4 MB, free: 9.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.2287, allocations: 0.5429 MB / 441 MB, free: 9.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.2302, allocations: 0.9258 MB / 441.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.2302, allocations: 4 kB / 441.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002345/0.2325, allocations: 1.387 MB / 443.3 MB, free: 6.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2326, allocations: 8 kB / 443.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2326, allocations: 4 kB / 443.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008175/0.2334, allocations: 353.6 kB / 443.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.2342, allocations: 211.7 kB / 443.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.2409, allocations: 7.717 MB / 451.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.2415, allocations: 43.98 kB / 451.6 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.2416, allocations: 52.06 kB / 451.6 MB, free: 13.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004266/0.242, allocations: 262 kB / 451.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.2421, allocations: 75.09 kB / 452 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.2445, allocations: 1.301 MB / 453.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2445, allocations: 12 kB / 453.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.2445, allocations: 8 kB / 453.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2445, allocations: 7.922 kB / 453.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.2482, allocations: 2.539 MB / 455.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2482, allocations: 4 kB / 455.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.2489, allocations: 155.7 kB / 456 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007176/0.2496, allocations: 331.5 kB / 456.3 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.2497, allocations: 31.98 kB / 456.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006089/0.2558, allocations: 7.431 MB / 463.8 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2558, allocations: 4 kB / 463.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.2586, allocations: 1.819 MB / 465.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.2589, allocations: 220.2 kB / 465.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/0.259, allocations: 24 kB / 465.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.2594, allocations: 39.98 kB / 465.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.2596, allocations: 104.7 kB / 466 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.2597, allocations: 32 kB / 466 MB, free: 14.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002659/0.26, allocations: 267.2 kB / 466.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.26, allocations: 0 / 466.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009752/0.2609, allocations: 312 kB / 466.6 MB, free: 14.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.2612, allocations: 182.1 kB / 466.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.2635, allocations: 1.616 MB / 468.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2636, allocations: 0 / 468.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.265, allocations: 1.147 MB / 469.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.2655, allocations: 80.75 kB / 469.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.2686, allocations: 2.493 MB / 472.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.2692, allocations: 1.021 MB / 473.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.2696, allocations: 98.19 kB / 473.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2698, allocations: 55.42 kB / 473.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2698, allocations: 0 / 473.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Templates: time 0.01617/0.286, allocations: 10.32 MB / 483.6 MB, free: 13.07 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches