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.001016/0.001015, allocations: 100.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 199.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 8 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 63.47 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004449/0.1433, allocations: 4.215 MB / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1457, allocations: 1.535 MB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.146, allocations: 20 kB / 487.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.1464, allocations: 171 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.1471, allocations: 291.2 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.1481, allocations: 430.7 kB / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007287/0.1489, allocations: 0.5535 MB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.151, allocations: 1.263 MB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.1514, allocations: 275 kB / 490.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.1519, allocations: 374.5 kB / 490.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.152, allocations: 36 kB / 490.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.1524, allocations: 143.9 kB / 490.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.1525, allocations: 131.5 kB / 490.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1527, allocations: 169.3 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.1536, allocations: 0.8922 MB / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1536, allocations: 0 / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1537, allocations: 0 / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1537, allocations: 0 / 491.8 MB, free: 10.87 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.003148/0.1568, allocations: 1.221 MB / 493.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1569, allocations: 12.02 kB / 493.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.1584, allocations: 238.8 kB / 493.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1587, allocations: 254.6 kB / 493.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1588, allocations: 78 kB / 493.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1589, allocations: 103.9 kB / 493.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.1604, allocations: 0.9126 MB / 494.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.1604, allocations: 4 kB / 494.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.1605, allocations: 40 kB / 494.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.1605, allocations: 31.94 kB / 494.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.1617, allocations: 0.722 MB / 495.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.1666, allocations: 4.115 MB / 499.6 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.169, allocations: 3.37 MB / 0.4911 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.1691, allocations: 182.5 kB / 0.4913 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1692, allocations: 42.83 kB / 0.4914 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 4.389e-06/0.1692, allocations: 0 / 0.4914 GB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002422/0.1716, allocations: 1.329 MB / 0.4927 GB, free: 12.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.1717, allocations: 140.5 kB / 0.4928 GB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.1721, allocations: 314.8 kB / 0.4931 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.1721, allocations: 41.7 kB / 0.4931 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.1724, allocations: 394.5 kB / 0.4935 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.1725, allocations: 232.6 kB / 0.4937 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1726, allocations: 12 kB / 0.4937 GB, free: 11.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1727, allocations: 354.8 kB / 0.4941 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.1731, allocations: 197.9 kB / 0.4943 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.1736, allocations: 396.6 kB / 0.4946 GB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.174, allocations: 256.7 kB / 0.4949 GB, free: 10.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.174, allocations: 0 / 0.4949 GB, free: 10.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001426/0.1754, allocations: 0.8743 MB / 0.4957 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1755, allocations: 8.5 kB / 0.4958 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1755, allocations: 8 kB / 0.4958 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.1761, allocations: 223.2 kB / 0.496 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.1766, allocations: 143.8 kB / 0.4961 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004974/0.1816, allocations: 6.304 MB / 0.5023 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.1821, allocations: 87.12 kB / 0.5023 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.1821, allocations: 35.95 kB / 0.5024 GB, free: 2.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.1825, allocations: 221.7 kB / 0.5026 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1826, allocations: 43.53 kB / 0.5026 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1838, allocations: 0.6909 MB / 0.5033 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1838, allocations: 8 kB / 0.5033 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1838, allocations: 8.094 kB / 0.5033 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1838, allocations: 7.922 kB / 0.5033 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2365/0.4204, allocations: 1.55 MB / 0.5048 GB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.4204, allocations: 5.109 kB / 0.5049 GB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.4207, allocations: 68.05 kB / 0.5049 GB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/0.4213, allocations: 217.2 kB / 0.5051 GB, free: 33.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.4214, allocations: 15.31 kB / 0.5051 GB, free: 33.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/0.4269, allocations: 6.298 MB / 0.5113 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.427, allocations: 2.484 kB / 0.5113 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.4292, allocations: 1.216 MB / 0.5125 GB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.4295, allocations: 123.6 kB / 0.5126 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.4295, allocations: 20.14 kB / 0.5126 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.4299, allocations: 14.64 kB / 0.5126 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.4302, allocations: 58.27 kB / 0.5127 GB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.4302, allocations: 16.86 kB / 0.5127 GB, free: 27.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.4306, allocations: 210.7 kB / 0.5129 GB, free: 27.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4306, allocations: 0 / 0.5129 GB, free: 27.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001562/0.4322, allocations: 281.2 kB / 0.5132 GB, free: 27.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003039/0.4325, allocations: 143.2 kB / 0.5133 GB, free: 27.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.434, allocations: 1.078 MB / 0.5144 GB, free: 27.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4341, allocations: 4.25 kB / 0.5144 GB, free: 27.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.4349, allocations: 0.7817 MB / 0.5151 GB, free: 26.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.4355, allocations: 29.98 kB / 0.5152 GB, free: 26.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.4385, allocations: 1.56 MB / 0.5167 GB, free: 25.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.4391, allocations: 0.9291 MB / 0.5176 GB, free: 25.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.4395, allocations: 63.86 kB / 0.5176 GB, free: 25.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.4396, allocations: 33.06 kB / 0.5177 GB, free: 25.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4396, allocations: 0 / 0.5177 GB, free: 25.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0166/0.4562, allocations: 6.23 MB / 0.5238 GB, free: 24.61 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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches