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.001875/0.001875, allocations: 108 kB / 16.41 MB, free: 6.48 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.002286/0.002287, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.53/1.53, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2072/0.2072, allocations: 43.52 MB / 314.1 MB, free: 472 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.002248/0.002248, allocations: 63.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007327/0.1284, allocations: 5.297 MB / 0.4926 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.1319, allocations: 1.617 MB / 0.4941 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.1327, allocations: 16 kB / 0.4941 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003841/0.1366, allocations: 1.595 MB / 0.4957 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.1382, allocations: 309.6 kB / 0.496 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.14, allocations: 0.6735 MB / 0.4967 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1412, allocations: 0.8086 MB / 0.4974 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.1423, allocations: 0.725 MB / 0.4982 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.1427, allocations: 346.7 kB / 0.4985 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.1433, allocations: 458.2 kB / 0.4989 GB, free: 444 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1434, allocations: 76 kB / 0.499 GB, free: 368 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.1439, allocations: 191.9 kB / 0.4992 GB, free: 176 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.144, allocations: 175.3 kB / 0.4993 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.1444, allocations: 421.9 kB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.1456, allocations: 1.156 MB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1457, allocations: 0 / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1457, allocations: 0 / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1457, allocations: 0 / 0.5009 GB, free: 14.43 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.003396/0.1491, allocations: 1.35 MB / 0.5022 GB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1492, allocations: 11.89 kB / 0.5022 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.1493, allocations: 152.4 kB / 0.5024 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.1508, allocations: 227.7 kB / 0.5026 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1511, allocations: 259.7 kB / 0.5028 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.1512, allocations: 78.38 kB / 0.5029 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1514, allocations: 111.9 kB / 0.503 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.1531, allocations: 0.9281 MB / 0.5039 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.1531, allocations: 11.91 kB / 0.5039 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/0.1532, allocations: 36 kB / 0.504 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.1533, allocations: 24 kB / 0.504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.1546, allocations: 0.7221 MB / 0.5047 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.1598, allocations: 3.898 MB / 0.5085 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.1627, allocations: 3.395 MB / 0.5118 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.1632, allocations: 292.4 kB / 0.5121 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.1633, allocations: 93.42 kB / 0.5122 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1634, allocations: 42.89 kB / 0.5122 GB, free: 1.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.146e-06/0.1634, allocations: 0 / 0.5122 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002624/0.166, allocations: 1.326 MB / 0.5135 GB, free: 268 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.1661, allocations: 140.5 kB / 0.5136 GB, free: 96 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.1665, allocations: 310.8 kB / 0.5139 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.1666, allocations: 37.7 kB / 0.514 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.1668, allocations: 398.3 kB / 0.5144 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.167, allocations: 228.7 kB / 0.5146 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.1672, allocations: 154.5 kB / 0.5147 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1674, allocations: 354.7 kB / 0.5151 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1677, allocations: 197.9 kB / 0.5152 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1682, allocations: 396.6 kB / 0.5156 GB, free: 13.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.1689, allocations: 0.6233 MB / 0.5162 GB, free: 13.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.169, allocations: 8 kB / 0.5162 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001451/0.1704, allocations: 0.8732 MB / 0.5171 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.1705, allocations: 4.5 kB / 0.5171 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1705, allocations: 12 kB / 0.5171 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.1711, allocations: 219.2 kB / 0.5173 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.1716, allocations: 139.8 kB / 0.5174 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/0.177, allocations: 6.709 MB / 0.524 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.1777, allocations: 83.12 kB / 0.5241 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.1778, allocations: 40.05 kB / 0.5241 GB, free: 4.566 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.0003565/0.1781, allocations: 222.9 kB / 0.5243 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.1783, allocations: 43.53 kB / 0.5244 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.1795, allocations: 0.7025 MB / 0.5251 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.1795, allocations: 8 kB / 0.5251 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1795, allocations: 4 kB / 0.5251 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1795, allocations: 3.984 kB / 0.5251 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.1818, allocations: 1.562 MB / 0.5266 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1818, allocations: 3.938 kB / 0.5266 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.1821, allocations: 67.91 kB / 0.5267 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.1826, allocations: 215.2 kB / 0.5269 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.1827, allocations: 12 kB / 0.5269 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2101/0.3928, allocations: 6.691 MB / 0.5334 GB, free: 34.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3929, allocations: 1.188 kB / 0.5334 GB, free: 34.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3943, allocations: 1.189 MB / 0.5346 GB, free: 34.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.3944, allocations: 128.3 kB / 0.5347 GB, free: 34.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.3945, allocations: 15.06 kB / 0.5347 GB, free: 34.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.3948, allocations: 16.89 kB / 0.5347 GB, free: 34.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.3949, allocations: 52.92 kB / 0.5348 GB, free: 34.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.395, allocations: 18.48 kB / 0.5348 GB, free: 34.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.3952, allocations: 214.7 kB / 0.535 GB, free: 34.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3952, allocations: 0 / 0.535 GB, free: 34.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3963, allocations: 278 kB / 0.5353 GB, free: 33.99 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.001881/0.3982, allocations: 1.76 MB / 0.537 GB, free: 33.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3998, allocations: 1.081 MB / 0.538 GB, free: 32.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3998, allocations: 4.344 kB / 0.538 GB, free: 32.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.4006, allocations: 0.7757 MB / 0.5388 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.0006984/0.4013, allocations: 48.17 kB / 0.5389 GB, free: 32.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/0.4075, allocations: 5.121 MB / 0.5439 GB, free: 28.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.408, allocations: 0.9103 MB / 0.5447 GB, free: 28.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.4083, allocations: 68.55 kB / 0.5448 GB, free: 28.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4085, allocations: 233 kB / 0.545 GB, free: 28 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4085, allocations: 0 / 0.545 GB, free: 28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04443/0.4529, allocations: 11.88 MB / 0.5566 GB, free: 25.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.93, allocations: 5.312 kB / 0.5566 GB, free: 25.02 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