Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009428/0.0009429, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.4 MB / 222.9 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007554, allocations: 87.86 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 47.56 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00231/0.2316, allocations: 2.276 MB / 377.4 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2332, allocations: 1.085 MB / 378.5 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.2333, allocations: 6.688 kB / 378.5 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.2337, allocations: 93.59 kB / 378.5 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.234, allocations: 104.8 kB / 378.7 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.235, allocations: 0.5533 MB / 379.2 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.2353, allocations: 269.8 kB / 379.5 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008522/0.2361, allocations: 0.5533 MB / 380 MB, free: 41.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.2363, allocations: 102.8 kB / 380.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.2365, allocations: 135.4 kB / 380.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.2366, allocations: 13.53 kB / 380.3 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.2369, allocations: 164.8 kB / 380.4 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.2369, allocations: 42.34 kB / 380.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2371, allocations: 150.6 kB / 380.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.2374, allocations: 364.8 kB / 381 MB, free: 41.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2374, allocations: 0 / 381 MB, free: 41.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2374, allocations: 1.094 kB / 381 MB, free: 41.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2374, allocations: 0 / 381 MB, free: 41.04 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.001339/0.2388, allocations: 0.6766 MB / 381.6 MB, free: 40.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2388, allocations: 8.531 kB / 381.7 MB, free: 40.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.2395, allocations: 119.7 kB / 381.8 MB, free: 40.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.2398, allocations: 263.1 kB / 382 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.2398, allocations: 25.72 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.2399, allocations: 29.38 kB / 382.1 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.2404, allocations: 339.9 kB / 382.4 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2404, allocations: 1.094 kB / 382.4 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.2405, allocations: 11.53 kB / 382.4 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2405, allocations: 7.406 kB / 382.4 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.2408, allocations: 242.3 kB / 382.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.2425, allocations: 1.449 MB / 384.1 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.243, allocations: 0.6981 MB / 384.8 MB, free: 37.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.2432, allocations: 118 kB / 384.9 MB, free: 37.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-05/0.2433, allocations: 95.06 kB / 385 MB, free: 37.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2433, allocations: 35.75 kB / 385.1 MB, free: 37.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.2433, allocations: 0 / 385.1 MB, free: 37.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001139/0.2445, allocations: 0.4898 MB / 385.6 MB, free: 37.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2445, allocations: 54.25 kB / 385.6 MB, free: 37.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2447, allocations: 178.2 kB / 385.8 MB, free: 37.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2447, allocations: 30.8 kB / 385.8 MB, free: 36.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.2448, allocations: 173.8 kB / 386 MB, free: 36.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.2448, allocations: 84.95 kB / 386.1 MB, free: 36.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2448, allocations: 5.125 kB / 386.1 MB, free: 36.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.662e-05/0.2449, allocations: 330.6 kB / 386.4 MB, free: 36.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.245, allocations: 73.81 kB / 386.5 MB, free: 36.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2452, allocations: 119.9 kB / 386.6 MB, free: 36.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.2454, allocations: 222.4 kB / 386.8 MB, free: 36.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2454, allocations: 0 / 386.8 MB, free: 36.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004961/0.2459, allocations: 329.6 kB / 387.1 MB, free: 35.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.246, allocations: 6.344 kB / 387.1 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.246, allocations: 2.531 kB / 387.1 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.2463, allocations: 80.61 kB / 387.2 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2464, allocations: 45.42 kB / 387.3 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.2478, allocations: 1.838 MB / 389.1 MB, free: 34.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.248, allocations: 23.78 kB / 389.1 MB, free: 34.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.248, allocations: 8 kB / 389.1 MB, free: 34.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.2481, allocations: 149.7 kB / 389.3 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.2482, allocations: 23.88 kB / 389.3 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.2486, allocations: 276.7 kB / 389.6 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2486, allocations: 7.938 kB / 389.6 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2486, allocations: 0 / 389.6 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2487, allocations: 7.969 kB / 389.6 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.2494, allocations: 0.6866 MB / 390.3 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2494, allocations: 0 / 390.3 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2495, allocations: 27.94 kB / 390.3 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.2497, allocations: 76.8 kB / 390.4 MB, free: 32.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2497, allocations: 4 kB / 390.4 MB, free: 32.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.251, allocations: 1.827 MB / 392.2 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.251, allocations: 0 / 392.2 MB, free: 30.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.2515, allocations: 453.4 kB / 392.6 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.2516, allocations: 112.9 kB / 392.7 MB, free: 30.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2516, allocations: 11.92 kB / 392.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2517, allocations: 4 kB / 392.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2518, allocations: 15.98 kB / 392.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.2518, allocations: 8 kB / 392.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.2519, allocations: 123.2 kB / 392.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2519, allocations: 0 / 392.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.2524, allocations: 103.8 kB / 393 MB, free: 29.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.2526, allocations: 119.1 kB / 393.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.2531, allocations: 358.2 kB / 393.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2531, allocations: 0 / 393.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2534, allocations: 239.2 kB / 393.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2537, allocations: 16 kB / 393.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.2545, allocations: 0.7428 MB / 394.5 MB, free: 28.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2547, allocations: 0.7519 MB / 395.2 MB, free: 27.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.2548, allocations: 27.42 kB / 395.2 MB, free: 27.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2548, allocations: 0 / 395.2 MB, free: 27.54 MB / 298.7 MB Notification: Performance of Templates: time 0.004388/0.2592, allocations: 3.885 MB / 399.1 MB, free: 23.66 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches