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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009513/0.0009513, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8967/0.8967, allocations: 177 MB / 204.1 MB, free: 5.793 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.317e-05, allocations: 2.281 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1781/0.1781, allocations: 4.77 MB / 446.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1799, allocations: 1.577 MB / 448.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1801, allocations: 19.41 kB / 448.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.1814, allocations: 1.562 MB / 450.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004173/0.1818, allocations: 330.3 kB / 450.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.1824, allocations: 0.4918 MB / 450.9 MB, free: 39.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.1827, allocations: 0.8283 MB / 451.7 MB, free: 39.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.1833, allocations: 0.629 MB / 452.3 MB, free: 38.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1836, allocations: 0.5046 MB / 452.8 MB, free: 38.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1839, allocations: 351.8 kB / 453.2 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.1839, allocations: 76.81 kB / 453.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.1842, allocations: 186.4 kB / 453.4 MB, free: 38.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.1843, allocations: 179.5 kB / 453.6 MB, free: 38.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1844, allocations: 294.1 kB / 453.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.185, allocations: 1.193 MB / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.185, allocations: 0 / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.185, allocations: 0 / 455.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.185, allocations: 0 / 455.1 MB, free: 37.73 MB / 410.7 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.001621/0.1867, allocations: 1.294 MB / 456.4 MB, free: 37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1867, allocations: 8.625 kB / 456.4 MB, free: 37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.505e-05/0.1868, allocations: 154.7 kB / 456.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.1876, allocations: 231.9 kB / 456.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1877, allocations: 195.2 kB / 457 MB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.1877, allocations: 75.16 kB / 457 MB, free: 36.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.1878, allocations: 104.6 kB / 457.2 MB, free: 36.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.1886, allocations: 0.9393 MB / 458.1 MB, free: 36.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1886, allocations: 3.953 kB / 458.1 MB, free: 36.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.1887, allocations: 48.23 kB / 458.1 MB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1887, allocations: 25.44 kB / 458.2 MB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.1894, allocations: 0.7195 MB / 458.9 MB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.1917, allocations: 2.828 MB / 461.7 MB, free: 33.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000866/0.1926, allocations: 0.7699 MB / 462.5 MB, free: 33.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.1928, allocations: 259.5 kB / 462.7 MB, free: 33.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.1929, allocations: 38.36 kB / 462.8 MB, free: 33.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.1929, allocations: 37.98 kB / 462.8 MB, free: 33.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.1929, allocations: 0 / 462.8 MB, free: 33.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001329/0.1942, allocations: 1.007 MB / 463.8 MB, free: 33.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.1942, allocations: 135 kB / 464 MB, free: 32.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1944, allocations: 337.9 kB / 464.3 MB, free: 32.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1944, allocations: 36.95 kB / 464.3 MB, free: 32.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1945, allocations: 409.9 kB / 464.7 MB, free: 32.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.1946, allocations: 234.3 kB / 464.9 MB, free: 32.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1947, allocations: 145 kB / 465.1 MB, free: 32.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.1948, allocations: 354.1 kB / 465.4 MB, free: 31.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.195, allocations: 199.6 kB / 465.6 MB, free: 31.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1952, allocations: 403.6 kB / 466 MB, free: 31.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.1957, allocations: 0.6298 MB / 466.7 MB, free: 30.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1957, allocations: 3.375 kB / 466.7 MB, free: 30.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0007897/0.1965, allocations: 0.8851 MB / 467.5 MB, free: 30.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1965, allocations: 9.281 kB / 467.5 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1965, allocations: 6.531 kB / 467.6 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.1969, allocations: 218.9 kB / 467.8 MB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.1971, allocations: 145.6 kB / 467.9 MB, free: 30.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.1995, allocations: 6.245 MB / 474.2 MB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1997, allocations: 90.38 kB / 474.2 MB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.1997, allocations: 37.41 kB / 474.3 MB, free: 24.66 MB / 410.7 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.0001881/0.1999, allocations: 227 kB / 474.5 MB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.2, allocations: 49.03 kB / 474.6 MB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.2006, allocations: 0.6794 MB / 475.2 MB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2006, allocations: 9.344 kB / 475.2 MB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2006, allocations: 10.08 kB / 475.2 MB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2006, allocations: 6.609 kB / 475.3 MB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.2019, allocations: 1.454 MB / 476.7 MB, free: 23.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2019, allocations: 0 / 476.7 MB, free: 23.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.202, allocations: 74.69 kB / 476.8 MB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.2023, allocations: 211.6 kB / 477 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2023, allocations: 17.36 kB / 477 MB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.2044, allocations: 6.245 MB / 483.3 MB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2044, allocations: 0 / 483.3 MB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/0.2052, allocations: 1.189 MB / 484.4 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2052, allocations: 51.03 kB / 484.5 MB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2052, allocations: 14.28 kB / 484.5 MB, free: 16.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.2054, allocations: 15.34 kB / 484.5 MB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.2055, allocations: 61.05 kB / 484.6 MB, free: 16.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.2055, allocations: 22.66 kB / 484.6 MB, free: 16.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2056, allocations: 219.2 kB / 484.8 MB, free: 16.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2056, allocations: 0 / 484.8 MB, free: 16.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006445/0.2063, allocations: 281.9 kB / 485.1 MB, free: 16.41 MB / 410.7 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.0009992/0.2073, allocations: 1.764 MB / 486.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.2081, allocations: 1.048 MB / 487.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2081, allocations: 0 / 487.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.2084, allocations: 0.7556 MB / 488.7 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.2089, allocations: 51.75 kB / 488.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.2128, allocations: 5.081 MB / 493.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.213, allocations: 318 kB / 494.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.2132, allocations: 71.3 kB / 494.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2133, allocations: 236.4 kB / 494.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2133, allocations: 0 / 494.4 MB, free: 10.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.2534, allocations: 12.91 MB / 0.4954 GB, free: 7.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.372, allocations: 6.141 kB / 0.4954 GB, free: 7.926 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.326422556303442]