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.001408/0.001408, allocations: 106.4 kB / 16.41 MB, free: 6.344 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.001606/0.001606, allocations: 190.7 kB / 17.34 MB, free: 5.68 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.554/1.554, allocations: 205.1 MB / 223.2 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.2213/0.2213, allocations: 43.52 MB / 314.1 MB, free: 452 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.001551/0.001551, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1281, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007108/0.1352, allocations: 5.277 MB / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.139, allocations: 1.616 MB / 0.4941 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.14, allocations: 20 kB / 0.4941 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.1442, allocations: 1.602 MB / 0.4957 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.146, allocations: 301.7 kB / 0.496 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.1479, allocations: 0.6813 MB / 0.4967 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.1497, allocations: 0.8047 MB / 0.4974 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.1517, allocations: 0.7367 MB / 0.4982 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.1527, allocations: 330.8 kB / 0.4985 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009123/0.1536, allocations: 466.1 kB / 0.4989 GB, free: 432 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.1538, allocations: 72 kB / 0.499 GB, free: 360 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006994/0.1546, allocations: 187.9 kB / 0.4992 GB, free: 172 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.1548, allocations: 175.4 kB / 0.4993 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007037/0.1555, allocations: 429.8 kB / 0.4998 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.1574, allocations: 1.156 MB / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1575, allocations: 0 / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1575, allocations: 0 / 0.5009 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.408e-05/0.1575, allocations: 4 kB / 0.5009 GB, free: 14.41 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.003966/0.1615, allocations: 1.35 MB / 0.5022 GB, free: 13.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1616, allocations: 11.89 kB / 0.5022 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.1618, allocations: 152.4 kB / 0.5024 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.1633, allocations: 227.7 kB / 0.5026 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.1636, allocations: 263.7 kB / 0.5028 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.779e-05/0.1637, allocations: 74.38 kB / 0.5029 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.1639, allocations: 99.94 kB / 0.503 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.1655, allocations: 0.9283 MB / 0.5039 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.1656, allocations: 7.906 kB / 0.5039 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.1657, allocations: 43.94 kB / 0.504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.1657, allocations: 24 kB / 0.504 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1669, allocations: 0.7221 MB / 0.5047 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/0.1721, allocations: 3.901 MB / 0.5085 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.1748, allocations: 3.384 MB / 0.5118 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.1753, allocations: 292.4 kB / 0.5121 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.1755, allocations: 105.4 kB / 0.5122 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1755, allocations: 42.83 kB / 0.5122 GB, free: 1.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.605e-06/0.1755, allocations: 0 / 0.5122 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002887/0.1784, allocations: 1.326 MB / 0.5135 GB, free: 256 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/0.1785, allocations: 140.6 kB / 0.5136 GB, free: 84 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.179, allocations: 310.8 kB / 0.5139 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1791, allocations: 37.7 kB / 0.514 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.1794, allocations: 402.3 kB / 0.5144 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.1797, allocations: 224.8 kB / 0.5146 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.1799, allocations: 146.5 kB / 0.5147 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1801, allocations: 354.7 kB / 0.5151 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.1805, allocations: 201.9 kB / 0.5152 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.181, allocations: 400.6 kB / 0.5156 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008878/0.1819, allocations: 0.6194 MB / 0.5162 GB, free: 13.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.1819, allocations: 7.938 kB / 0.5162 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00164/0.1836, allocations: 0.8696 MB / 0.5171 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1836, allocations: 11.94 kB / 0.5171 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.1836, allocations: 4 kB / 0.5171 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.1843, allocations: 235.6 kB / 0.5173 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.1848, allocations: 135.8 kB / 0.5175 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/0.191, allocations: 6.705 MB / 0.524 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.1917, allocations: 79.12 kB / 0.5241 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.1918, allocations: 39.98 kB / 0.5241 GB, free: 4.559 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.0004571/0.1922, allocations: 226.9 kB / 0.5243 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.1924, allocations: 43.53 kB / 0.5244 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.1937, allocations: 0.6908 MB / 0.525 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.1937, allocations: 8 kB / 0.5251 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.1938, allocations: 4 kB / 0.5251 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.1938, allocations: 7.984 kB / 0.5251 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.1963, allocations: 1.566 MB / 0.5266 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1963, allocations: 4 kB / 0.5266 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1966, allocations: 67.91 kB / 0.5267 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.1971, allocations: 215.2 kB / 0.5269 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.1972, allocations: 15.94 kB / 0.5269 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.225/0.4222, allocations: 6.691 MB / 0.5334 GB, free: 34.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4223, allocations: 1.469 kB / 0.5334 GB, free: 34.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.4238, allocations: 1.182 MB / 0.5346 GB, free: 34.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.424, allocations: 129.2 kB / 0.5347 GB, free: 34.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.424, allocations: 14.23 kB / 0.5347 GB, free: 34.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.4244, allocations: 14.89 kB / 0.5347 GB, free: 34.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4245, allocations: 61.66 kB / 0.5348 GB, free: 34.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.4245, allocations: 17.98 kB / 0.5348 GB, free: 34.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.4248, allocations: 210.5 kB / 0.535 GB, free: 34.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4248, allocations: 0 / 0.535 GB, free: 34.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009697/0.4258, allocations: 280.2 kB / 0.5353 GB, free: 34.08 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.001726/0.4275, allocations: 1.757 MB / 0.537 GB, free: 33.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.429, allocations: 1.081 MB / 0.538 GB, free: 32.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.429, allocations: 0 / 0.538 GB, free: 32.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.4297, allocations: 0.7779 MB / 0.5388 GB, free: 32.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/0.4305, allocations: 50.19 kB / 0.5389 GB, free: 32.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006775/0.4372, allocations: 5.117 MB / 0.5438 GB, free: 29.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.4378, allocations: 0.9121 MB / 0.5447 GB, free: 28.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.4381, allocations: 63.48 kB / 0.5448 GB, free: 28.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.4383, allocations: 228.4 kB / 0.545 GB, free: 28.12 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4383, allocations: 0 / 0.545 GB, free: 28.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05097/0.4893, allocations: 11.89 MB / 0.5566 GB, free: 25.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.05, allocations: 6.188 kB / 0.5566 GB, free: 25.14 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