Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 71.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 62.46 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006313/0.1159, allocations: 5.319 MB / 486.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1184, allocations: 1.639 MB / 488.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1186, allocations: 16 kB / 488.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.1218, allocations: 1.602 MB / 490 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.1225, allocations: 309.7 kB / 490.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1236, allocations: 0.5177 MB / 490.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000738/0.1243, allocations: 0.8048 MB / 491.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.1253, allocations: 0.725 MB / 492.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.1258, allocations: 346.7 kB / 492.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.1263, allocations: 458.2 kB / 493.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.1264, allocations: 76 kB / 493.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.1267, allocations: 199.9 kB / 493.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1269, allocations: 175.3 kB / 493.6 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.1273, allocations: 429.9 kB / 494 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1283, allocations: 1.168 MB / 495.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1283, allocations: 0 / 495.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1284, allocations: 0 / 495.2 MB, free: 6.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1284, allocations: 0 / 495.2 MB, free: 6.727 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.0031/0.1315, allocations: 1.354 MB / 496.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1315, allocations: 9.109 kB / 496.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.1331, allocations: 243.7 kB / 496.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1334, allocations: 263.4 kB / 497.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.1334, allocations: 78.31 kB / 497.1 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1336, allocations: 104 kB / 497.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1351, allocations: 0.9243 MB / 498.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.1351, allocations: 4 kB / 498.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.1352, allocations: 40 kB / 498.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.1352, allocations: 28 kB / 498.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.1364, allocations: 0.7221 MB / 499 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.141, allocations: 4.079 MB / 0.4912 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.1434, allocations: 3.381 MB / 0.4945 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.1438, allocations: 294.3 kB / 0.4948 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.1439, allocations: 178.5 kB / 0.495 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.144, allocations: 46.83 kB / 0.495 GB, free: 9.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 1.953e-06/0.144, allocations: 0 / 0.495 GB, free: 9.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.00247/0.1465, allocations: 1.322 MB / 0.4963 GB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.1465, allocations: 136.5 kB / 0.4965 GB, free: 8.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1469, allocations: 318.7 kB / 0.4968 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1469, allocations: 37.7 kB / 0.4968 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.1472, allocations: 398.4 kB / 0.4972 GB, free: 7.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1473, allocations: 224.8 kB / 0.4974 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1475, allocations: 150.5 kB / 0.4975 GB, free: 7.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1476, allocations: 346.8 kB / 0.4979 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.148, allocations: 201.9 kB / 0.4981 GB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.1484, allocations: 400.6 kB / 0.4984 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/0.1493, allocations: 0.6257 MB / 0.4991 GB, free: 5.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.1493, allocations: 0 / 0.4991 GB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001415/0.1507, allocations: 0.8775 MB / 0.4999 GB, free: 4.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1507, allocations: 14.64 kB / 0.4999 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1508, allocations: 4 kB / 0.4999 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.1514, allocations: 227.4 kB / 0.5001 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.1518, allocations: 143.7 kB / 0.5003 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.196/0.3478, allocations: 6.697 MB / 0.5068 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.3484, allocations: 88.69 kB / 0.5069 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.3485, allocations: 34.12 kB / 0.5069 GB, free: 38.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.3488, allocations: 227.1 kB / 0.5072 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3489, allocations: 46.34 kB / 0.5072 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.3503, allocations: 0.6843 MB / 0.5079 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3503, allocations: 11.72 kB / 0.5079 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.3503, allocations: 5.5 kB / 0.5079 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3503, allocations: 3.703 kB / 0.5079 GB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.353, allocations: 1.563 MB / 0.5094 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.353, allocations: 1.719 kB / 0.5094 GB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.3532, allocations: 69.72 kB / 0.5095 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.3538, allocations: 212.3 kB / 0.5097 GB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3538, allocations: 14.75 kB / 0.5097 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/0.3586, allocations: 6.697 MB / 0.5162 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3586, allocations: 3.938 kB / 0.5162 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3599, allocations: 1.185 MB / 0.5174 GB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3601, allocations: 129 kB / 0.5175 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.3601, allocations: 18.08 kB / 0.5175 GB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.3604, allocations: 14.84 kB / 0.5176 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.3605, allocations: 56.56 kB / 0.5176 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3606, allocations: 20.84 kB / 0.5176 GB, free: 30.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.3608, allocations: 210.8 kB / 0.5178 GB, free: 30.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3608, allocations: 0 / 0.5178 GB, free: 30.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3618, allocations: 279.9 kB / 0.5181 GB, free: 29.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * 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,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.3621, allocations: 136.4 kB / 0.5182 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3635, allocations: 1.083 MB / 0.5193 GB, free: 29.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3635, allocations: 3.938 kB / 0.5193 GB, free: 29.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.3642, allocations: 0.7788 MB / 0.5201 GB, free: 28.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.3649, allocations: 43.55 kB / 0.5201 GB, free: 28.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3667, allocations: 1.228 MB / 0.5213 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3672, allocations: 0.9132 MB / 0.5222 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.3674, allocations: 65.59 kB / 0.5222 GB, free: 27.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.3675, allocations: 33.62 kB / 0.5223 GB, free: 27.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3675, allocations: 0 / 0.5223 GB, free: 27.16 MB / 382.1 MB Notification: Performance of Templates: time 0.01314/0.3807, allocations: 6.698 MB / 0.5288 GB, free: 25.9 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches