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.001461/0.001461, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.13 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 76.95 kB / 417.6 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1383, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007615/0.146, allocations: 5.327 MB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005242/0.1513, allocations: 1.666 MB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.1522, allocations: 20 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003919/0.1562, allocations: 1.586 MB / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.1577, allocations: 317.6 kB / 489 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1589, allocations: 0.5134 MB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1599, allocations: 0.7893 MB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.161, allocations: 0.737 MB / 491 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.1615, allocations: 346.7 kB / 491.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.1621, allocations: 458.2 kB / 491.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.327e-05/0.1622, allocations: 76 kB / 491.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.1627, allocations: 199.9 kB / 492.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1628, allocations: 179.3 kB / 492.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.1632, allocations: 425.9 kB / 492.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1644, allocations: 1.152 MB / 493.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1644, allocations: 0 / 493.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1644, allocations: 3.938 kB / 493.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1644, allocations: 0 / 493.8 MB, free: 7.402 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.003168/0.1676, allocations: 1.358 MB / 495.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1677, allocations: 9.109 kB / 495.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.1692, allocations: 227.7 kB / 495.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1694, allocations: 263.4 kB / 495.7 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1696, allocations: 74.56 kB / 495.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1697, allocations: 115.8 kB / 495.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.1711, allocations: 0.936 MB / 496.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.1711, allocations: 4 kB / 496.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.1712, allocations: 40 kB / 496.8 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.1713, allocations: 24 kB / 496.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1724, allocations: 0.7299 MB / 497.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.1775, allocations: 4.118 MB / 0.49 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.18, allocations: 3.378 MB / 0.4933 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.1804, allocations: 294.1 kB / 0.4935 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.1806, allocations: 186.5 kB / 0.4937 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1807, allocations: 46.89 kB / 0.4938 GB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.124e-06/0.1807, allocations: 0 / 0.4938 GB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002583/0.1833, allocations: 1.326 MB / 0.4951 GB, free: 9.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.1833, allocations: 140.5 kB / 0.4952 GB, free: 8.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.1838, allocations: 322.7 kB / 0.4955 GB, free: 8.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1838, allocations: 37.7 kB / 0.4955 GB, free: 8.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.184, allocations: 394.5 kB / 0.4959 GB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.1842, allocations: 228.7 kB / 0.4961 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.1844, allocations: 150.5 kB / 0.4963 GB, free: 7.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1845, allocations: 354.7 kB / 0.4966 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.1849, allocations: 197.9 kB / 0.4968 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.1853, allocations: 408.6 kB / 0.4972 GB, free: 6.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.1862, allocations: 0.618 MB / 0.4978 GB, free: 6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1862, allocations: 4 kB / 0.4978 GB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001407/0.1876, allocations: 0.8891 MB / 0.4987 GB, free: 5.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1876, allocations: 8 kB / 0.4987 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1876, allocations: 4 kB / 0.4987 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.1882, allocations: 235.4 kB / 0.4989 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.1887, allocations: 139.8 kB / 0.499 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2446/0.4333, allocations: 6.698 MB / 0.5056 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.4341, allocations: 86.42 kB / 0.5057 GB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.4341, allocations: 38.86 kB / 0.5057 GB, free: 38.22 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.0003846/0.4345, allocations: 230.5 kB / 0.5059 GB, free: 38.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4347, allocations: 45.2 kB / 0.506 GB, free: 38.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.4359, allocations: 0.6815 MB / 0.5066 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4359, allocations: 7.562 kB / 0.5066 GB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.436, allocations: 8.656 kB / 0.5066 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.436, allocations: 10.41 kB / 0.5066 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.4385, allocations: 1.574 MB / 0.5082 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4385, allocations: 1.125 kB / 0.5082 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.4387, allocations: 68.42 kB / 0.5082 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005679/0.4393, allocations: 215.5 kB / 0.5085 GB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.4394, allocations: 14.94 kB / 0.5085 GB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.4444, allocations: 6.698 MB / 0.515 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4444, allocations: 1.156 kB / 0.515 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.4459, allocations: 1.187 MB / 0.5162 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.446, allocations: 133 kB / 0.5163 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.4461, allocations: 27.16 kB / 0.5163 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.4464, allocations: 15.03 kB / 0.5163 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4465, allocations: 53.53 kB / 0.5164 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.4466, allocations: 17.84 kB / 0.5164 GB, free: 30.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.4468, allocations: 213.3 kB / 0.5166 GB, free: 30.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4468, allocations: 0 / 0.5166 GB, free: 30.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001168/0.448, allocations: 276 kB / 0.5169 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.0002627/0.4483, allocations: 139.2 kB / 0.517 GB, free: 29.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4499, allocations: 1.1 MB / 0.5181 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4499, allocations: 0 / 0.5181 GB, free: 29.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.4507, allocations: 0.7836 MB / 0.5188 GB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.4513, allocations: 41.08 kB / 0.5189 GB, free: 28.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.4532, allocations: 1.239 MB / 0.5201 GB, free: 27.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4537, allocations: 0.914 MB / 0.521 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002748/0.454, allocations: 62.17 kB / 0.521 GB, free: 27.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.454, allocations: 39.05 kB / 0.5211 GB, free: 27.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.454, allocations: 3.938 kB / 0.5211 GB, free: 27.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01392/0.468, allocations: 6.611 MB / 0.5275 GB, free: 25.98 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches