Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_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.001076/0.001076, allocations: 110.7 kB / 17.09 MB, free: 5.805 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.001097/0.001097, allocations: 196.2 kB / 18.02 MB, free: 4.918 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.365/1.365, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2026/0.2026, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.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.001515/0.001515, allocations: 69.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007161/0.1163, allocations: 5.273 MB / 0.4937 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.1195, allocations: 1.62 MB / 0.4953 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.1202, allocations: 20 kB / 0.4953 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.1237, allocations: 1.595 MB / 0.4969 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1248, allocations: 313.6 kB / 0.4972 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1263, allocations: 0.6696 MB / 0.4978 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1274, allocations: 0.8047 MB / 0.4986 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1285, allocations: 0.7328 MB / 0.4993 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.129, allocations: 338.7 kB / 0.4996 GB, free: 376 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.1297, allocations: 462.2 kB / 0.5001 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.1299, allocations: 76 kB / 0.5001 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.1304, allocations: 195.9 kB / 0.5003 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1305, allocations: 171.3 kB / 0.5005 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.131, allocations: 429.9 kB / 0.5009 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1323, allocations: 1.156 MB / 0.502 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1323, allocations: 0 / 0.502 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1323, allocations: 0 / 0.502 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.1323, allocations: 0 / 0.502 GB, free: 13.9 MB / 398.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.003411/0.1357, allocations: 1.342 MB / 0.5033 GB, free: 12.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.1358, allocations: 11.89 kB / 0.5034 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1372, allocations: 231.7 kB / 0.5036 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1375, allocations: 263.8 kB / 0.5038 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.1376, allocations: 78.31 kB / 0.5039 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1377, allocations: 104.1 kB / 0.504 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.1392, allocations: 0.9321 MB / 0.5049 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.1393, allocations: 3.906 kB / 0.5049 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.1393, allocations: 40 kB / 0.505 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.1394, allocations: 24 kB / 0.505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1406, allocations: 0.7299 MB / 0.5057 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.1452, allocations: 3.89 MB / 0.5095 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.1476, allocations: 3.382 MB / 0.5128 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.148, allocations: 300.4 kB / 0.5131 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.1481, allocations: 93.38 kB / 0.5132 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1482, allocations: 46.88 kB / 0.5132 GB, free: 1.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.275e-06/0.1482, allocations: 0 / 0.5132 GB, free: 1.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002535/0.1507, allocations: 1.33 MB / 0.5145 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1508, allocations: 132.5 kB / 0.5146 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.1512, allocations: 322.7 kB / 0.5149 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1512, allocations: 33.7 kB / 0.515 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.1514, allocations: 406.3 kB / 0.5154 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.1516, allocations: 228.7 kB / 0.5156 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.1518, allocations: 146.5 kB / 0.5157 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1519, allocations: 350.8 kB / 0.5161 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.1523, allocations: 201.9 kB / 0.5163 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.1527, allocations: 392.7 kB / 0.5166 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.1535, allocations: 0.6271 MB / 0.5172 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.1535, allocations: 3.938 kB / 0.5172 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001462/0.155, allocations: 0.8815 MB / 0.5181 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.155, allocations: 8 kB / 0.5181 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.155, allocations: 4 kB / 0.5181 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.1557, allocations: 227.2 kB / 0.5183 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.1561, allocations: 139.8 kB / 0.5185 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005422/0.1616, allocations: 6.705 MB / 0.525 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.162, allocations: 79.19 kB / 0.5251 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.1621, allocations: 39.98 kB / 0.5251 GB, free: 4.203 MB / 414.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.0002865/0.1624, allocations: 222.9 kB / 0.5253 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1625, allocations: 39.53 kB / 0.5254 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1637, allocations: 0.6986 MB / 0.5261 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.1637, allocations: 7.984 kB / 0.5261 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1637, allocations: 0 / 0.5261 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.1639, allocations: 120.5 kB / 0.5262 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.164, allocations: 19.94 kB / 0.5262 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.1643, allocations: 19.94 kB / 0.5262 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1644, allocations: 55.91 kB / 0.5263 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001637/0.166, allocations: 1.001 MB / 0.5272 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001074/0.1671, allocations: 1.053 MB / 0.5283 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002634/0.1674, allocations: 180.5 kB / 0.5284 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.1677, allocations: 217.9 kB / 0.5287 GB, free: 500 kB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.1677, allocations: 0 / 0.5287 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.2174/0.3851, allocations: 1.059 MB / 0.5297 GB, free: 39.69 MB / 414.1 MB Notification: Performance of SimCode: time 0.002512/0.3877, allocations: 1.758 MB / 0.5314 GB, free: 38.67 MB / 414.1 MB Notification: Performance of Templates: time 0.01643/0.4041, allocations: 8.365 MB / 0.5396 GB, free: 38 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches