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.006992/0.006997, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.685/3.685, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002038/0.002038, allocations: 98.8 kB / 270.9 MB, free: 13.39 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0007486/0.0007492, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1579, allocations: 47.58 MB / 374.6 MB, free: 15.45 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.006256/0.1642, allocations: 2.152 MB / 376.7 MB, free: 13.28 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.1685, allocations: 1.08 MB / 377.8 MB, free: 12.19 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.169, allocations: 8 kB / 377.8 MB, free: 12.18 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007769/0.1698, allocations: 99.45 kB / 377.9 MB, free: 12.09 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009974/0.1709, allocations: 119.6 kB / 378 MB, free: 11.97 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.1741, allocations: 0.5491 MB / 378.6 MB, free: 11.42 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1752, allocations: 207.5 kB / 378.8 MB, free: 11.21 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.1779, allocations: 0.5103 MB / 379.3 MB, free: 10.69 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.1785, allocations: 99.64 kB / 379.4 MB, free: 10.59 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.179, allocations: 139.5 kB / 379.5 MB, free: 10.45 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 9.868e-05/0.1792, allocations: 12 kB / 379.5 MB, free: 10.44 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009807/0.1802, allocations: 139.8 kB / 379.7 MB, free: 10.3 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1803, allocations: 51.81 kB / 379.7 MB, free: 10.25 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.1806, allocations: 73.58 kB / 379.8 MB, free: 10.18 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1819, allocations: 359.3 kB / 380.1 MB, free: 9.824 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.182, allocations: 0 / 380.1 MB, free: 9.824 MB / 282.8 MB Notification: Performance of FrontEnd: time 4.108e-06/0.182, allocations: 0 / 380.1 MB, free: 9.824 MB / 282.8 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.182, allocations: 0 / 380.1 MB, free: 9.824 MB / 282.8 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.003853/0.1859, allocations: 0.6746 MB / 380.8 MB, free: 9.098 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/0.186, allocations: 12.03 kB / 380.8 MB, free: 9.086 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.1882, allocations: 115.5 kB / 380.9 MB, free: 8.973 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008507/0.1892, allocations: 259.2 kB / 381.2 MB, free: 8.68 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.1893, allocations: 28.61 kB / 381.2 MB, free: 8.652 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.1895, allocations: 32 kB / 381.2 MB, free: 8.621 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1909, allocations: 329 kB / 381.6 MB, free: 8.289 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.191, allocations: 0 / 381.6 MB, free: 8.289 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.1911, allocations: 12 kB / 381.6 MB, free: 8.277 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.1911, allocations: 8 kB / 381.6 MB, free: 8.27 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1923, allocations: 242.5 kB / 381.8 MB, free: 8.031 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005345/0.1977, allocations: 1.451 MB / 383.3 MB, free: 6.438 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.1994, allocations: 0.7012 MB / 384 MB, free: 5.617 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.1997, allocations: 85.11 kB / 384 MB, free: 5.516 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.1998, allocations: 34.56 kB / 384.1 MB, free: 5.473 MB / 282.8 MB Notification: Performance of pre-optimization done (n=24): time 4.839e-06/0.1998, allocations: 0 / 384.1 MB, free: 5.473 MB / 282.8 MB Notification: Performance of matching and sorting (n=24): time 0.00326/0.2031, allocations: 487.4 kB / 384.6 MB, free: 4.969 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.2032, allocations: 59.36 kB / 384.6 MB, free: 4.898 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.2037, allocations: 179.3 kB / 384.8 MB, free: 4.711 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.2038, allocations: 25.7 kB / 384.8 MB, free: 4.68 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.204, allocations: 246.4 kB / 385.1 MB, free: 4.434 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.2042, allocations: 82.81 kB / 385.1 MB, free: 4.352 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.2043, allocations: 4 kB / 385.1 MB, free: 4.348 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.2046, allocations: 326.8 kB / 385.5 MB, free: 4.02 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.2049, allocations: 68.47 kB / 385.5 MB, free: 3.953 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.2053, allocations: 128.2 kB / 385.7 MB, free: 3.805 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.2058, allocations: 85.17 kB / 385.7 MB, free: 3.723 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.2058, allocations: 0 / 385.7 MB, free: 3.723 MB / 282.8 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001493/0.2073, allocations: 325 kB / 386.1 MB, free: 3.398 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.2074, allocations: 4 kB / 386.1 MB, free: 3.395 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.2075, allocations: 4 kB / 386.1 MB, free: 3.391 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007533/0.2082, allocations: 76.75 kB / 386.1 MB, free: 3.312 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.2088, allocations: 39.97 kB / 386.2 MB, free: 3.273 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.2138, allocations: 1.866 MB / 388 MB, free: 1.273 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.2142, allocations: 23.75 kB / 388.1 MB, free: 1.25 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.2143, allocations: 11.98 kB / 388.1 MB, free: 1.238 MB / 282.8 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.0003642/0.2147, allocations: 149.7 kB / 388.2 MB, free: 1.082 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.2148, allocations: 16.38 kB / 388.2 MB, free: 1.066 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.2163, allocations: 288.8 kB / 388.5 MB, free: 0.7812 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2163, allocations: 0 / 388.5 MB, free: 0.7812 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.2164, allocations: 4 kB / 388.5 MB, free: 0.7773 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.2164, allocations: 3.984 kB / 388.5 MB, free: 0.7734 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.219, allocations: 0.6904 MB / 389.2 MB, free: 24 kB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.2191, allocations: 7.922 kB / 389.2 MB, free: 16 kB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4012/0.6204, allocations: 26.83 kB / 389.3 MB, free: 20.44 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007642/0.6212, allocations: 68.08 kB / 389.3 MB, free: 20.43 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.6213, allocations: 5.906 kB / 389.3 MB, free: 20.43 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.6259, allocations: 1.846 MB / 391.2 MB, free: 19.12 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.6259, allocations: 5.266 kB / 391.2 MB, free: 19.12 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.6278, allocations: 446.3 kB / 391.6 MB, free: 18.98 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.6281, allocations: 116.2 kB / 391.7 MB, free: 18.88 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.6281, allocations: 6.859 kB / 391.7 MB, free: 18.88 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.6285, allocations: 4.906 kB / 391.7 MB, free: 18.88 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.6286, allocations: 26.72 kB / 391.8 MB, free: 18.88 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6287, allocations: 5.578 kB / 391.8 MB, free: 18.88 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.0002189/0.6289, allocations: 128 kB / 391.9 MB, free: 18.8 MB / 282.8 MB Notification: Performance of sort global known variables: time 6.82e-07/0.6289, allocations: 1.781 kB / 391.9 MB, free: 18.8 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.001125/0.6301, allocations: 97.2 kB / 392 MB, free: 18.8 MB / 282.8 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.0003606/0.6305, allocations: 121.5 kB / 392.1 MB, free: 18.71 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.6319, allocations: 340.6 kB / 392.4 MB, free: 18.59 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.6319, allocations: 3.375 kB / 392.4 MB, free: 18.59 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008032/0.6327, allocations: 244.8 kB / 392.7 MB, free: 18.48 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.6332, allocations: 10.36 kB / 392.7 MB, free: 18.48 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6355, allocations: 0.7367 MB / 393.4 MB, free: 18.06 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.636, allocations: 0.7631 MB / 394.2 MB, free: 17.36 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.6361, allocations: 18.97 kB / 394.2 MB, free: 17.36 MB / 282.8 MB Notification: Performance of SimCode: time 1.573e-06/0.6361, allocations: 0 / 394.2 MB, free: 17.36 MB / 282.8 MB Notification: Performance of Templates: time 0.01736/0.6535, allocations: 3.772 MB / 398 MB, free: 17.11 MB / 282.8 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/jenkins1/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