Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008488/0.0008488, allocations: 179.2 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008274/0.0008272, allocations: 90.41 kB / 272.1 MB, free: 8.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002476/0.0002477, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2535, allocations: 47.59 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002434/0.256, allocations: 2.275 MB / 378.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.2578, allocations: 1.802 MB / 380.7 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.2579, allocations: 10.62 kB / 380.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2583, allocations: 124.4 kB / 380.8 MB, free: 42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.2586, allocations: 105.1 kB / 380.9 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2599, allocations: 1.399 MB / 382.3 MB, free: 40.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2603, allocations: 277.5 kB / 382.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.2613, allocations: 0.934 MB / 383.5 MB, free: 39.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.2615, allocations: 109.6 kB / 383.6 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.2617, allocations: 149.3 kB / 383.8 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.2618, allocations: 12.12 kB / 383.8 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.2621, allocations: 169.9 kB / 384 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.2622, allocations: 41.12 kB / 384 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2623, allocations: 154.7 kB / 384.2 MB, free: 39.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.2628, allocations: 479.8 kB / 384.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2628, allocations: 0 / 384.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2628, allocations: 0 / 384.6 MB, free: 38.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2628, allocations: 0 / 384.6 MB, free: 38.77 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00139/0.2642, allocations: 0.6688 MB / 385.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2643, allocations: 8.906 kB / 385.3 MB, free: 38.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.265, allocations: 123.9 kB / 385.4 MB, free: 38.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2653, allocations: 254.6 kB / 385.7 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.2654, allocations: 27.06 kB / 385.7 MB, free: 37.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.2654, allocations: 36.5 kB / 385.7 MB, free: 37.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.266, allocations: 331.8 kB / 386.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.266, allocations: 5.062 kB / 386.1 MB, free: 37.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.2661, allocations: 11.31 kB / 386.1 MB, free: 37.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2661, allocations: 7.781 kB / 386.1 MB, free: 37.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.2665, allocations: 245.6 kB / 386.3 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.2682, allocations: 1.457 MB / 387.8 MB, free: 36.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.2688, allocations: 0.6872 MB / 388.5 MB, free: 35.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2689, allocations: 102.8 kB / 388.6 MB, free: 35.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.361e-05/0.269, allocations: 87.14 kB / 388.7 MB, free: 35.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2691, allocations: 40.88 kB / 388.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.2691, allocations: 0 / 388.7 MB, free: 35.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001164/0.2703, allocations: 494.5 kB / 389.2 MB, free: 34.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.2703, allocations: 53.53 kB / 389.2 MB, free: 34.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2704, allocations: 176 kB / 389.4 MB, free: 34.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2705, allocations: 35.2 kB / 389.4 MB, free: 34.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.2705, allocations: 181 kB / 389.6 MB, free: 34.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.2706, allocations: 76.97 kB / 389.7 MB, free: 34.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-06/0.2706, allocations: 5.375 kB / 389.7 MB, free: 34.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.2707, allocations: 327.3 kB / 390 MB, free: 34.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2708, allocations: 71.56 kB / 390.1 MB, free: 34.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2709, allocations: 132.1 kB / 390.2 MB, free: 33.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.2711, allocations: 215.8 kB / 390.4 MB, free: 33.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2711, allocations: 0 / 390.4 MB, free: 33.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004304/0.2716, allocations: 323.5 kB / 390.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2716, allocations: 4.219 kB / 390.7 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2716, allocations: 8 kB / 390.7 MB, free: 33.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.2719, allocations: 80.73 kB / 390.8 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.272, allocations: 35.98 kB / 390.9 MB, free: 33.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.2734, allocations: 1.847 MB / 392.7 MB, free: 31.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2736, allocations: 23.81 kB / 392.7 MB, free: 31.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2736, allocations: 12 kB / 392.7 MB, free: 31.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.2737, allocations: 154.6 kB / 392.9 MB, free: 31.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2737, allocations: 15.81 kB / 392.9 MB, free: 31.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.2742, allocations: 282.4 kB / 393.2 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2742, allocations: 7.938 kB / 393.2 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2742, allocations: 3.984 kB / 393.2 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2742, allocations: 4 kB / 393.2 MB, free: 30.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007386/0.275, allocations: 0.6944 MB / 393.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.275, allocations: 0 / 393.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2751, allocations: 20 kB / 393.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.2753, allocations: 72.73 kB / 394 MB, free: 29.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2753, allocations: 8 kB / 394 MB, free: 29.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.2766, allocations: 1.839 MB / 395.8 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2766, allocations: 0 / 395.8 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.2771, allocations: 439.8 kB / 396.3 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.2772, allocations: 116.8 kB / 396.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.2772, allocations: 4 kB / 396.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2773, allocations: 16.06 kB / 396.4 MB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.2774, allocations: 11.98 kB / 396.4 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.2774, allocations: 11.98 kB / 396.4 MB, free: 27.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.2775, allocations: 128.4 kB / 396.5 MB, free: 27.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2775, allocations: 0 / 396.5 MB, free: 27.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.2779, allocations: 91.75 kB / 396.6 MB, free: 27.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.2782, allocations: 135.2 kB / 396.8 MB, free: 26.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.2787, allocations: 354.2 kB / 397.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2787, allocations: 448 / 397.1 MB, free: 26.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.279, allocations: 242.6 kB / 397.3 MB, free: 26.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2793, allocations: 19.94 kB / 397.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008696/0.2802, allocations: 0.7423 MB / 398.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.2804, allocations: 0.7519 MB / 398.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.2805, allocations: 29.92 kB / 398.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.2806, allocations: 15.44 kB / 398.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2806, allocations: 0 / 398.9 MB, free: 24.77 MB / 298.7 MB Notification: Performance of Templates: time 0.005281/0.2859, allocations: 2.409 MB / 401.3 MB, free: 22.36 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches