Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.0007785/0.0007785, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.0008289/0.0008289, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.9103/0.9103, allocations: 177 MB / 204.1 MB, free: 5.738 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.2523/0.2523, allocations: 34.23 MB / 294.8 MB, free: 0.707 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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.804e-05, allocations: 10.28 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.1907/0.1907, allocations: 2.353 MB / 444.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.1917, allocations: 0.7943 MB / 445.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1918, allocations: 2.906 kB / 445.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.192, allocations: 57.52 kB / 445.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1922, allocations: 117.1 kB / 445.5 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.1924, allocations: 99.97 kB / 445.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1926, allocations: 366.1 kB / 445.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1927, allocations: 56.98 kB / 446 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.193, allocations: 211.8 kB / 446.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1931, allocations: 115.5 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1931, allocations: 30.03 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.1932, allocations: 32.12 kB / 446.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.1932, allocations: 78.41 kB / 446.4 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.1932, allocations: 99.75 kB / 446.5 MB, free: 42.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1935, allocations: 389.3 kB / 446.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1935, allocations: 3.281 kB / 446.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1935, allocations: 0 / 446.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1935, allocations: 7.125 kB / 446.9 MB, free: 42.05 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005932/0.1941, allocations: 0.5591 MB / 447.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1941, allocations: 11.19 kB / 447.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.1942, allocations: 61.81 kB / 447.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1943, allocations: 45.5 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1945, allocations: 204.1 kB / 447.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1946, allocations: 19.16 kB / 447.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1946, allocations: 21.59 kB / 447.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.1949, allocations: 250 kB / 448.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1949, allocations: 4.188 kB / 448.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1949, allocations: 14.81 kB / 448.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1949, allocations: 8.5 kB / 448.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.1952, allocations: 233.2 kB / 448.3 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.196, allocations: 0.7757 MB / 449.1 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.1964, allocations: 288.1 kB / 449.4 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1965, allocations: 122 kB / 449.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1966, allocations: 6.719 kB / 449.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1966, allocations: 40.53 kB / 449.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.1966, allocations: 0 / 449.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.002108/0.1987, allocations: 0.9554 MB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.1987, allocations: 57.09 kB / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1989, allocations: 236.9 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1989, allocations: 32.52 kB / 450.8 MB, free: 40.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1989, allocations: 169 kB / 451 MB, free: 39.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.199, allocations: 108.9 kB / 451.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.199, allocations: 52.36 kB / 451.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.1991, allocations: 335.2 kB / 451.5 MB, free: 39.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1992, allocations: 105.3 kB / 451.6 MB, free: 39.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1993, allocations: 120.8 kB / 451.7 MB, free: 39.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1996, allocations: 231 kB / 451.9 MB, free: 39.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1996, allocations: 2.875 kB / 451.9 MB, free: 39.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008577/0.2004, allocations: 0.5449 MB / 452.5 MB, free: 39.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2005, allocations: 5.688 kB / 452.5 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2005, allocations: 0.5625 kB / 452.5 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.2012, allocations: 316.7 kB / 452.8 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.2013, allocations: 25.95 kB / 452.8 MB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.205, allocations: 6.367 MB / 459.2 MB, free: 33.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2051, allocations: 31.66 kB / 459.2 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.2051, allocations: 9.75 kB / 459.2 MB, free: 33.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.2053, allocations: 147 kB / 459.4 MB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.2053, allocations: 31.23 kB / 459.4 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008675/0.2062, allocations: 0.5441 MB / 459.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2062, allocations: 2.906 kB / 459.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2062, allocations: 0.9375 kB / 459.9 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2062, allocations: 4 kB / 459.9 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.2064, allocations: 293.9 kB / 460.2 MB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2064, allocations: 2.688 kB / 460.2 MB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.2065, allocations: 18.31 kB / 460.3 MB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006783/0.2072, allocations: 312.3 kB / 460.6 MB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2072, allocations: 7.375 kB / 460.6 MB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.2105, allocations: 6.425 MB / 467 MB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2105, allocations: 3.125 kB / 467 MB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/0.2113, allocations: 0.6157 MB / 467.6 MB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.2114, allocations: 33.69 kB / 467.6 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2114, allocations: 16.12 kB / 467.7 MB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.2115, allocations: 17.89 kB / 467.7 MB, free: 26.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.2116, allocations: 32.84 kB / 467.7 MB, free: 26.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2116, allocations: 10.59 kB / 467.7 MB, free: 26.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.2117, allocations: 170.7 kB / 467.9 MB, free: 26.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2117, allocations: 0 / 467.9 MB, free: 26.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004033/0.2121, allocations: 123.5 kB / 468 MB, free: 26.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000931/0.213, allocations: 1.161 MB / 469.2 MB, free: 25.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.2137, allocations: 0.7416 MB / 469.9 MB, free: 24.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2137, allocations: 0 / 469.9 MB, free: 24.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.2142, allocations: 0.7223 MB / 470.6 MB, free: 24.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2144, allocations: 27.08 kB / 470.7 MB, free: 24.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.2175, allocations: 3.15 MB / 473.8 MB, free: 22.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2176, allocations: 171.4 kB / 474 MB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.2176, allocations: 18.5 kB / 474 MB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.2177, allocations: 78.33 kB / 474.1 MB, free: 22.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2177, allocations: 7.312 kB / 474.1 MB, free: 22.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.251, allocations: 11.89 MB / 486 MB, free: 20.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.287, allocations: 18.75 kB / 486 MB, free: 20.13 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 10.262365308590233]