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: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001521/0.001522, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.659/1.659, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2333/0.2333, allocations: 43.52 MB / 314.1 MB, free: 464 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.002098/0.002098, allocations: 79.88 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1166, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00698/0.1236, allocations: 5.285 MB / 0.4926 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.1273, allocations: 1.605 MB / 0.4941 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.128, allocations: 20 kB / 0.4941 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00444/0.1326, allocations: 1.602 MB / 0.4957 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.1342, allocations: 305.6 kB / 0.496 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1358, allocations: 0.6735 MB / 0.4967 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1372, allocations: 0.8086 MB / 0.4974 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.1384, allocations: 0.7329 MB / 0.4982 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.139, allocations: 338.8 kB / 0.4985 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006472/0.1396, allocations: 462.1 kB / 0.4989 GB, free: 424 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1398, allocations: 76 kB / 0.499 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.1403, allocations: 187.9 kB / 0.4992 GB, free: 160 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1406, allocations: 175.3 kB / 0.4993 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.141, allocations: 422 kB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.1426, allocations: 1.167 MB / 0.5009 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1427, allocations: 4 kB / 0.5009 GB, free: 14.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1427, allocations: 0 / 0.5009 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1427, allocations: 0 / 0.5009 GB, free: 14.39 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.003541/0.1462, allocations: 1.368 MB / 0.5022 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1463, allocations: 15.89 kB / 0.5022 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.1465, allocations: 156.4 kB / 0.5024 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.1479, allocations: 228.2 kB / 0.5026 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1482, allocations: 255.9 kB / 0.5029 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.1483, allocations: 70.38 kB / 0.5029 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.1484, allocations: 103.9 kB / 0.503 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.15, allocations: 0.9321 MB / 0.5039 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.15, allocations: 7.953 kB / 0.5039 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.1501, allocations: 44 kB / 0.504 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.1501, allocations: 24 kB / 0.504 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1514, allocations: 0.7221 MB / 0.5047 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/0.1564, allocations: 3.91 MB / 0.5085 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.1594, allocations: 3.383 MB / 0.5118 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.1599, allocations: 296.3 kB / 0.5121 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.16, allocations: 97.42 kB / 0.5122 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.16, allocations: 42.89 kB / 0.5122 GB, free: 1.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.706e-06/0.1601, allocations: 0 / 0.5122 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002809/0.1629, allocations: 1.326 MB / 0.5135 GB, free: 216 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.163, allocations: 144.6 kB / 0.5137 GB, free: 40 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.1634, allocations: 310.9 kB / 0.514 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1635, allocations: 37.7 kB / 0.514 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.1638, allocations: 407.8 kB / 0.5144 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.164, allocations: 249.9 kB / 0.5146 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.1642, allocations: 146.6 kB / 0.5148 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1644, allocations: 358.7 kB / 0.5151 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.1647, allocations: 193.9 kB / 0.5153 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.1652, allocations: 400.6 kB / 0.5157 GB, free: 13.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.1661, allocations: 0.6232 MB / 0.5163 GB, free: 13.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1661, allocations: 0 / 0.5163 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00155/0.1677, allocations: 0.8854 MB / 0.5172 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1677, allocations: 10.66 kB / 0.5172 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1678, allocations: 8 kB / 0.5172 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.1684, allocations: 223.4 kB / 0.5174 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.1689, allocations: 139.8 kB / 0.5175 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006247/0.1751, allocations: 6.71 MB / 0.5241 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.1758, allocations: 91.3 kB / 0.5242 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.1758, allocations: 31.94 kB / 0.5242 GB, free: 4.48 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.000374/0.1762, allocations: 231 kB / 0.5244 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1764, allocations: 47.7 kB / 0.5245 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.1777, allocations: 0.687 MB / 0.5251 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1777, allocations: 4 kB / 0.5251 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1777, allocations: 8 kB / 0.5251 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1777, allocations: 0 / 0.5251 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.1804, allocations: 1.566 MB / 0.5267 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.1804, allocations: 4 kB / 0.5267 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.1807, allocations: 75.91 kB / 0.5268 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.1813, allocations: 215.2 kB / 0.527 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.1813, allocations: 12 kB / 0.527 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2157/0.397, allocations: 6.692 MB / 0.5335 GB, free: 34.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3971, allocations: 1.188 kB / 0.5335 GB, free: 34.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.3985, allocations: 1.189 MB / 0.5347 GB, free: 34.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3986, allocations: 126.3 kB / 0.5348 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.3987, allocations: 19.33 kB / 0.5348 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.399, allocations: 11.86 kB / 0.5348 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3991, allocations: 63.12 kB / 0.5349 GB, free: 34.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3991, allocations: 16.97 kB / 0.5349 GB, free: 34.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.3994, allocations: 215.6 kB / 0.5351 GB, free: 34.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3994, allocations: 0 / 0.5351 GB, free: 34.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000909/0.4003, allocations: 284.4 kB / 0.5354 GB, free: 34 MB / 414.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.00169/0.402, allocations: 1.765 MB / 0.5371 GB, free: 33.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.4035, allocations: 1.065 MB / 0.5381 GB, free: 32.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4035, allocations: 4.594 kB / 0.5381 GB, free: 32.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007361/0.4043, allocations: 0.7816 MB / 0.5389 GB, free: 32.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.4049, allocations: 57.39 kB / 0.539 GB, free: 32.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.411, allocations: 5.148 MB / 0.544 GB, free: 28.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.4115, allocations: 0.9137 MB / 0.5449 GB, free: 28.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.4118, allocations: 64.59 kB / 0.5449 GB, free: 28.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.412, allocations: 228.5 kB / 0.5452 GB, free: 28 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.412, allocations: 4 kB / 0.5452 GB, free: 27.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.4615, allocations: 11.7 MB / 0.5566 GB, free: 25.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.24, allocations: 1.344 kB / 0.5566 GB, free: 25.12 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > 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