Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001191, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 77.25 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006404/0.1514, allocations: 5.308 MB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1547, allocations: 1.623 MB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.1554, allocations: 20 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.1588, allocations: 1.513 MB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1599, allocations: 258.3 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1612, allocations: 0.4981 MB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1624, allocations: 0.7619 MB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.1638, allocations: 0.6726 MB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.1645, allocations: 326.7 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/0.1652, allocations: 454.2 kB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.1654, allocations: 63.94 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.166, allocations: 171.9 kB / 491 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1662, allocations: 155.4 kB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.1667, allocations: 417.9 kB / 491.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.168, allocations: 1.141 MB / 492.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1681, allocations: 4 kB / 492.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1681, allocations: 0 / 492.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.345e-05/0.1681, allocations: 0 / 492.7 MB, free: 8.234 MB / 366.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.003738/0.1718, allocations: 1.354 MB / 494.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1719, allocations: 12.88 kB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.1721, allocations: 148.4 kB / 494.2 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.1738, allocations: 239.8 kB / 494.5 MB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1741, allocations: 263.4 kB / 494.7 MB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.1742, allocations: 82.3 kB / 494.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.1744, allocations: 103.9 kB / 494.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.1761, allocations: 0.9321 MB / 495.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.1761, allocations: 0 / 495.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.1762, allocations: 40 kB / 495.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.1762, allocations: 27.98 kB / 495.9 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.1776, allocations: 0.7338 MB / 496.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/0.1832, allocations: 4.11 MB / 0.489 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.1858, allocations: 3.368 MB / 0.4923 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.1863, allocations: 290.1 kB / 0.4926 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.1865, allocations: 178.5 kB / 0.4928 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1865, allocations: 42.88 kB / 0.4928 GB, free: 11.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.095e-06/0.1865, allocations: 0 / 0.4928 GB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002715/0.1893, allocations: 1.33 MB / 0.4941 GB, free: 9.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.1894, allocations: 140.5 kB / 0.4942 GB, free: 9.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.1899, allocations: 318.8 kB / 0.4945 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.1899, allocations: 37.7 kB / 0.4946 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.1902, allocations: 394.4 kB / 0.4949 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.1905, allocations: 236.6 kB / 0.4952 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.1907, allocations: 146.6 kB / 0.4953 GB, free: 8.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1908, allocations: 350.7 kB / 0.4956 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.1912, allocations: 201.9 kB / 0.4958 GB, free: 7.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.1917, allocations: 404.6 kB / 0.4962 GB, free: 7.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008881/0.1926, allocations: 0.6185 MB / 0.4968 GB, free: 6.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.1926, allocations: 0 / 0.4968 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001569/0.1942, allocations: 0.8896 MB / 0.4977 GB, free: 5.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1942, allocations: 8 kB / 0.4977 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.1943, allocations: 8 kB / 0.4977 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000678/0.1949, allocations: 219.4 kB / 0.4979 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.1954, allocations: 139.8 kB / 0.4981 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2204/0.4158, allocations: 6.231 MB / 0.5041 GB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.4164, allocations: 89.09 kB / 0.5042 GB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.4165, allocations: 36.72 kB / 0.5043 GB, free: 39.45 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.0002742/0.4168, allocations: 219.6 kB / 0.5045 GB, free: 39.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4169, allocations: 48.47 kB / 0.5045 GB, free: 39.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.4181, allocations: 0.6845 MB / 0.5052 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4182, allocations: 7.594 kB / 0.5052 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4182, allocations: 5.5 kB / 0.5052 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4182, allocations: 4.219 kB / 0.5052 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.4204, allocations: 1.574 MB / 0.5067 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4205, allocations: 1.125 kB / 0.5067 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.4207, allocations: 69.39 kB / 0.5068 GB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/0.4212, allocations: 220.5 kB / 0.507 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.4213, allocations: 13.81 kB / 0.507 GB, free: 38.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00387/0.4251, allocations: 6.222 MB / 0.5131 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4252, allocations: 0.5156 kB / 0.5131 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4266, allocations: 1.19 MB / 0.5143 GB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.4267, allocations: 125.5 kB / 0.5144 GB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.4267, allocations: 16.23 kB / 0.5144 GB, free: 32.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.4271, allocations: 17.58 kB / 0.5144 GB, free: 32.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4272, allocations: 60.73 kB / 0.5145 GB, free: 32.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.4272, allocations: 17.19 kB / 0.5145 GB, free: 32.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.4275, allocations: 213 kB / 0.5147 GB, free: 31.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4275, allocations: 0 / 0.5147 GB, free: 31.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000967/0.4284, allocations: 285.4 kB / 0.515 GB, free: 31.82 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.001709/0.4302, allocations: 1.76 MB / 0.5167 GB, free: 30.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4316, allocations: 1.07 MB / 0.5177 GB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4316, allocations: 0 / 0.5177 GB, free: 29.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.4324, allocations: 0.7895 MB / 0.5185 GB, free: 29.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.4331, allocations: 46.19 kB / 0.5185 GB, free: 29.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.44, allocations: 5.531 MB / 0.524 GB, free: 25.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.4405, allocations: 0.9109 MB / 0.5248 GB, free: 24.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000322/0.4408, allocations: 64.67 kB / 0.5249 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.4411, allocations: 232.6 kB / 0.5251 GB, free: 24.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4411, allocations: 0 / 0.5251 GB, free: 24.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.4668, allocations: 11.11 MB / 0.536 GB, free: 21.03 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.4669, allocations: 261.2 kB / 0.5362 GB, free: 20.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.564, allocations: 0 / 0.5362 GB, free: 20.77 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches