Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.0007508, allocations: 96.16 kB / 18.01 MB, free: 5.734 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.000812/0.0008121, allocations: 177.7 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 243 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 44.26 MB / 338.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005355/0.1144, allocations: 4.821 MB / 477.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1175, allocations: 1.553 MB / 479.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006217/0.1181, allocations: 23.94 kB / 479.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.1189, allocations: 254.9 kB / 479.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.12, allocations: 258.3 kB / 479.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1215, allocations: 0.6339 MB / 480.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.1227, allocations: 0.7581 MB / 481.2 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.1254, allocations: 1.42 MB / 482.6 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.1259, allocations: 282.8 kB / 482.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.1265, allocations: 406.2 kB / 483.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.1267, allocations: 40 kB / 483.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.1272, allocations: 147.9 kB / 483.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1273, allocations: 135.3 kB / 483.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.1278, allocations: 399.7 kB / 484 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1288, allocations: 0.896 MB / 484.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1288, allocations: 7.938 kB / 484.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1288, allocations: 4 kB / 484.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.488e-05/0.1289, allocations: 0 / 484.9 MB, free: 1.25 MB / 350.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.003392/0.1323, allocations: 1.202 MB / 486.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1323, allocations: 8.031 kB / 486.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.1338, allocations: 227.7 kB / 486.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1341, allocations: 255.8 kB / 486.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.1343, allocations: 78.56 kB / 486.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.1345, allocations: 107.8 kB / 486.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.1363, allocations: 0.9283 MB / 487.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.1364, allocations: 11.92 kB / 487.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.1364, allocations: 36 kB / 487.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.1365, allocations: 24 kB / 487.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1378, allocations: 0.7262 MB / 488.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005178/0.143, allocations: 3.964 MB / 492.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.1456, allocations: 3.375 MB / 495.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.146, allocations: 292.7 kB / 496.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.1461, allocations: 93.44 kB / 496.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1462, allocations: 50.81 kB / 496.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.1462, allocations: 0 / 496.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00269/0.1489, allocations: 1.349 MB / 497.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.149, allocations: 136.5 kB / 497.7 MB, free: 3.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.1494, allocations: 314.8 kB / 498.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.1494, allocations: 45.7 kB / 498.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.1497, allocations: 386.5 kB / 498.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.1499, allocations: 232.6 kB / 498.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/0.15, allocations: 77.61 kB / 498.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1501, allocations: 354.7 kB / 499.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.1505, allocations: 201.9 kB / 499.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.151, allocations: 404.6 kB / 499.7 MB, free: 1.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.1518, allocations: 0.6306 MB / 0.4886 GB, free: 364 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.1518, allocations: 0 / 0.4886 GB, free: 364 kB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001522/0.1534, allocations: 0.8853 MB / 0.4895 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1534, allocations: 8 kB / 0.4895 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.1534, allocations: 4 kB / 0.4895 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.1541, allocations: 223.4 kB / 0.4897 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.1546, allocations: 135.8 kB / 0.4898 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/0.1599, allocations: 6.252 MB / 0.4959 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.1604, allocations: 87.19 kB / 0.496 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.1605, allocations: 39.92 kB / 0.4961 GB, free: 8.168 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.0003315/0.1608, allocations: 217.7 kB / 0.4963 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.161, allocations: 43.47 kB / 0.4963 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.1622, allocations: 0.6983 MB / 0.497 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.1622, allocations: 8 kB / 0.497 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.1623, allocations: 4 kB / 0.497 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1623, allocations: 11.92 kB / 0.497 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.1647, allocations: 1.559 MB / 0.4985 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.1647, allocations: 4 kB / 0.4985 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.1649, allocations: 67.91 kB / 0.4986 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/0.1655, allocations: 215.2 kB / 0.4988 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.1655, allocations: 16 kB / 0.4988 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.241/0.4066, allocations: 6.223 MB / 0.5049 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4066, allocations: 3.531 kB / 0.5049 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.4085, allocations: 1.186 MB / 0.5061 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.4086, allocations: 128.3 kB / 0.5062 GB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.222e-05/0.4087, allocations: 13.22 kB / 0.5062 GB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.4091, allocations: 14.19 kB / 0.5062 GB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.4093, allocations: 59.8 kB / 0.5063 GB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.4093, allocations: 16.83 kB / 0.5063 GB, free: 45.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.4096, allocations: 215.1 kB / 0.5065 GB, free: 45.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4097, allocations: 0 / 0.5065 GB, free: 45.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001086/0.4108, allocations: 275.5 kB / 0.5068 GB, free: 45.18 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.0002492/0.411, allocations: 139 kB / 0.5069 GB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.4127, allocations: 1.082 MB / 0.5079 GB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4127, allocations: 0 / 0.5079 GB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.4135, allocations: 0.7902 MB / 0.5087 GB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.4142, allocations: 41.59 kB / 0.5088 GB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.4166, allocations: 1.681 MB / 0.5104 GB, free: 43.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.4172, allocations: 0.9163 MB / 0.5113 GB, free: 42.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.4173, allocations: 44.23 kB / 0.5113 GB, free: 42.53 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4173, allocations: 0 / 0.5113 GB, free: 42.53 MB / 382.1 MB Notification: Performance of Templates: time 0.02203/0.4394, allocations: 19.29 MB / 0.5302 GB, free: 34.12 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches