Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009126/0.0009127, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009658/0.0009658, allocations: 95.09 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005054/0.2812, allocations: 5.651 MB / 417.7 MB, free: 20.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003851/0.285, allocations: 3.835 MB / 421.5 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007625/0.2858, allocations: 20 kB / 421.6 MB, free: 16.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009788/0.2868, allocations: 342.4 kB / 421.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.2883, allocations: 0.6093 MB / 422.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.2907, allocations: 2.393 MB / 424.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.2918, allocations: 1.024 MB / 425.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.2937, allocations: 1.972 MB / 427.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.2942, allocations: 370.4 kB / 428.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.2947, allocations: 497.6 kB / 428.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.2949, allocations: 48 kB / 428.8 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006895/0.2956, allocations: 351.7 kB / 429.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2957, allocations: 175.1 kB / 429.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.296, allocations: 495.1 kB / 429.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.2971, allocations: 1.438 MB / 431.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2971, allocations: 0 / 431.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2971, allocations: 0 / 431.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2971, allocations: 0 / 431.2 MB, free: 5.785 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.003195/0.3004, allocations: 1.456 MB / 432.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.3004, allocations: 8.031 kB / 432.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/0.3033, allocations: 0.4914 MB / 433.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.3038, allocations: 490.3 kB / 433.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.3039, allocations: 82.22 kB / 433.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.304, allocations: 115.9 kB / 433.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.3055, allocations: 0.9705 MB / 434.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.3056, allocations: 4 kB / 434.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.3056, allocations: 44 kB / 434.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3057, allocations: 32 kB / 434.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3072, allocations: 0.9574 MB / 435.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.3125, allocations: 3.807 MB / 439.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.3144, allocations: 1.549 MB / 441.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/0.3152, allocations: 432.4 kB / 441.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.3153, allocations: 183.3 kB / 441.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007927/0.3161, allocations: 466.8 kB / 442.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.365e-06/0.3161, allocations: 4 kB / 442.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.008326/0.3245, allocations: 4.032 MB / 446.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3246, allocations: 145.5 kB / 446.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.325, allocations: 397.5 kB / 446.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.325, allocations: 45.7 kB / 446.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3253, allocations: 423.7 kB / 447.3 MB, free: 4.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3256, allocations: 429.8 kB / 447.7 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.3256, allocations: 24 kB / 447.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3258, allocations: 378.8 kB / 448.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.3265, allocations: 346.5 kB / 448.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/0.3273, allocations: 0.539 MB / 449 MB, free: 3.176 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.3288, allocations: 0.9419 MB / 449.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3288, allocations: 4 kB / 449.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002465/0.3313, allocations: 1.382 MB / 451.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3313, allocations: 4 kB / 451.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3313, allocations: 8 kB / 451.3 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008523/0.3322, allocations: 351.5 kB / 451.7 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.333, allocations: 203.7 kB / 451.9 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.3401, allocations: 7.733 MB / 459.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.3408, allocations: 47.98 kB / 459.6 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.3408, allocations: 40 kB / 459.7 MB, free: 7.859 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.0004453/0.3413, allocations: 272.8 kB / 459.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3414, allocations: 71.16 kB / 460 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.3439, allocations: 1.297 MB / 461.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3439, allocations: 16.12 kB / 461.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3439, allocations: 12 kB / 461.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.344, allocations: 3.984 kB / 461.3 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.348, allocations: 2.539 MB / 463.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.348, allocations: 0 / 463.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.3487, allocations: 163.7 kB / 464 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007789/0.3495, allocations: 323.5 kB / 464.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.3495, allocations: 27.98 kB / 464.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006634/0.3562, allocations: 7.435 MB / 471.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3562, allocations: 3.984 kB / 471.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.3594, allocations: 1.815 MB / 473.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.3597, allocations: 220.2 kB / 473.9 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.3598, allocations: 24 kB / 473.9 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.3603, allocations: 39.92 kB / 473.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.3605, allocations: 104.8 kB / 474 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.3606, allocations: 35.98 kB / 474.1 MB, free: 8.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.3609, allocations: 271.2 kB / 474.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.554e-06/0.3609, allocations: 0 / 474.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001087/0.362, allocations: 323.9 kB / 474.6 MB, free: 8.172 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.0002885/0.3623, allocations: 183 kB / 474.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.3649, allocations: 1.612 MB / 476.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3649, allocations: 0 / 476.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.3665, allocations: 1.15 MB / 477.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.3671, allocations: 73.55 kB / 477.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.3708, allocations: 2.503 MB / 480.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.3714, allocations: 1.021 MB / 481.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005185/0.372, allocations: 102.2 kB / 481.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3721, allocations: 55.42 kB / 481.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3721, allocations: 0 / 481.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of Templates: time 0.0183/0.3904, allocations: 10.44 MB / 491.8 MB, free: 6.844 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches