Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 94.97 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001705, allocations: 179.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005181, allocations: 8 kB / 280.7 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 47.58 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003198/0.1128, allocations: 2.141 MB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1151, allocations: 1.084 MB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.1154, allocations: 8 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1159, allocations: 99.44 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.1164, allocations: 131.6 kB / 331.8 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1178, allocations: 0.5511 MB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.1183, allocations: 211.6 kB / 332.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.1194, allocations: 0.4986 MB / 333 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1196, allocations: 103.6 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1199, allocations: 131.5 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1199, allocations: 20 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.1203, allocations: 139.8 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.1204, allocations: 43.84 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1205, allocations: 77.58 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.121, allocations: 359.3 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.121, allocations: 4 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.121, allocations: 0 / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1211, allocations: 3.938 kB / 333.9 MB, free: 14.46 MB / 286.1 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.002121/0.1232, allocations: 0.6707 MB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1232, allocations: 12.03 kB / 334.6 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.1241, allocations: 119.5 kB / 334.7 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.1245, allocations: 251.3 kB / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.1245, allocations: 32.59 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.1246, allocations: 36 kB / 335 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.1252, allocations: 325.1 kB / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1252, allocations: 0 / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.1252, allocations: 16 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1253, allocations: 8 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.1257, allocations: 234.5 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1279, allocations: 1.459 MB / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.1286, allocations: 0.7006 MB / 337.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1287, allocations: 81.11 kB / 337.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1287, allocations: 42.5 kB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.1287, allocations: 4 kB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001216/0.13, allocations: 487.3 kB / 338.3 MB, free: 9.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.13, allocations: 59.36 kB / 338.4 MB, free: 9.527 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1302, allocations: 179.3 kB / 338.6 MB, free: 9.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1302, allocations: 29.7 kB / 338.6 MB, free: 9.305 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1304, allocations: 176 kB / 338.8 MB, free: 9.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1304, allocations: 78.81 kB / 338.9 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.1304, allocations: 4 kB / 338.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1306, allocations: 330.8 kB / 339.2 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1307, allocations: 72.53 kB / 339.3 MB, free: 8.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1308, allocations: 116.2 kB / 339.4 MB, free: 8.504 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.131, allocations: 97.09 kB / 339.5 MB, free: 8.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.131, allocations: 0 / 339.5 MB, free: 8.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005308/0.1315, allocations: 317 kB / 339.8 MB, free: 8.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1316, allocations: 8.031 kB / 339.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1316, allocations: 4 kB / 339.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.1319, allocations: 76.8 kB / 339.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.132, allocations: 43.92 kB / 339.9 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.1339, allocations: 1.866 MB / 341.8 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1341, allocations: 19.88 kB / 341.8 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1341, allocations: 12 kB / 341.8 MB, free: 5.93 MB / 286.1 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.0001557/0.1343, allocations: 145.7 kB / 341.9 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1343, allocations: 15.81 kB / 342 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/0.1349, allocations: 308.6 kB / 342.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1349, allocations: 0 / 342.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1349, allocations: 4 kB / 342.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1349, allocations: 0 / 342.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.1358, allocations: 0.6866 MB / 343 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1359, allocations: 3.938 kB / 343 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.136, allocations: 27.98 kB / 343 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.1362, allocations: 72.81 kB / 343.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1363, allocations: 4 kB / 343.1 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.138, allocations: 1.855 MB / 344.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1381, allocations: 384 / 344.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.1387, allocations: 447.7 kB / 345.3 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1388, allocations: 108.9 kB / 345.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1388, allocations: 4.125 kB / 345.5 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1389, allocations: 11.94 kB / 345.5 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.139, allocations: 19.97 kB / 345.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.139, allocations: 8 kB / 345.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.734e-05/0.1391, allocations: 127.5 kB / 345.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1391, allocations: 3.938 kB / 345.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.1396, allocations: 95.67 kB / 345.7 MB, free: 1.758 MB / 286.1 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.0002363/0.1398, allocations: 128 kB / 345.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000583/0.1404, allocations: 346.4 kB / 346.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1405, allocations: 4.438 kB / 346.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1408, allocations: 247.1 kB / 346.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.141, allocations: 11.95 kB / 346.4 MB, free: 1.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1421, allocations: 0.7252 MB / 347.2 MB, free: 256 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1424, allocations: 0.7596 MB / 347.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.1426, allocations: 21.95 kB / 347.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.1426, allocations: 15.44 kB / 348 MB, free: 15.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1426, allocations: 0 / 348 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Templates: time 0.00597/0.1486, allocations: 2.339 MB / 350.3 MB, free: 13.09 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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