Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.0008533/0.0008533, 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.00145/0.00145, 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.9321/0.9321, allocations: 177 MB / 204.1 MB, free: 5.754 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.2363/0.2363, allocations: 34.23 MB / 294.8 MB, free: 0.668 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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.668e-05, allocations: 4.531 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.1789/0.1789, allocations: 2.811 MB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1799, allocations: 0.7404 MB / 445.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.1801, allocations: 13.62 kB / 445.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1802, allocations: 57.53 kB / 445.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1804, allocations: 105 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1807, allocations: 123.8 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.1811, allocations: 488.5 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1813, allocations: 105.8 kB / 446.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.1816, allocations: 276.6 kB / 446.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1817, allocations: 158.1 kB / 447 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1818, allocations: 37.88 kB / 447 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.1818, allocations: 44.62 kB / 447.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1819, allocations: 91.11 kB / 447.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.182, allocations: 140.5 kB / 447.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1823, allocations: 489.5 kB / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1823, allocations: 3.188 kB / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1823, allocations: 0 / 447.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1823, allocations: 0.9062 kB / 447.8 MB, free: 41.91 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008518/0.1832, allocations: 0.6293 MB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1832, allocations: 12.5 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.1833, allocations: 75.92 kB / 448.5 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1835, allocations: 59.48 kB / 448.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1838, allocations: 243.6 kB / 448.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1839, allocations: 27.41 kB / 448.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.1839, allocations: 38.8 kB / 448.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.1844, allocations: 342.5 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1844, allocations: 6.406 kB / 449.2 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1844, allocations: 18.97 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1844, allocations: 8.469 kB / 449.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.1848, allocations: 300.6 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.1862, allocations: 1.207 MB / 450.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.1866, allocations: 266.9 kB / 451 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.1868, allocations: 136.7 kB / 451.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1868, allocations: 3.094 kB / 451.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1868, allocations: 41.03 kB / 451.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.1868, allocations: 0 / 451.2 MB, free: 39.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004961/0.1873, allocations: 382 kB / 451.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1873, allocations: 61.94 kB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1875, allocations: 267.2 kB / 451.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1875, allocations: 29.7 kB / 451.9 MB, free: 39.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.1876, allocations: 203.3 kB / 452.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.1876, allocations: 127.3 kB / 452.2 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/0.1877, allocations: 66.64 kB / 452.3 MB, free: 39.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.1877, allocations: 338.7 kB / 452.6 MB, free: 38.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1879, allocations: 104.9 kB / 452.7 MB, free: 38.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.188, allocations: 173.3 kB / 452.9 MB, free: 38.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1883, allocations: 290.3 kB / 453.2 MB, free: 38.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1883, allocations: 3.938 kB / 453.2 MB, free: 38.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003786/0.1887, allocations: 376 kB / 453.5 MB, free: 38.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1887, allocations: 6.406 kB / 453.5 MB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1887, allocations: 0 / 453.5 MB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1887, allocations: 8.984 kB / 453.5 MB, free: 38.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.189, allocations: 97.92 kB / 453.6 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.189, allocations: 2.812 kB / 453.6 MB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1891, allocations: 53.31 kB / 453.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1891, allocations: 15.78 kB / 453.7 MB, free: 38.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.1892, allocations: 151.7 kB / 453.9 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.1893, allocations: 31.28 kB / 453.9 MB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.1897, allocations: 328.4 kB / 454.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1897, allocations: 2.906 kB / 454.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1897, allocations: 2.438 kB / 454.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1897, allocations: 0 / 454.2 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.19, allocations: 330.7 kB / 454.5 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.19, allocations: 0 / 454.5 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.1902, allocations: 86.62 kB / 454.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1902, allocations: 6.281 kB / 454.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1902, allocations: 6.969 kB / 454.6 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1902, allocations: 0 / 454.6 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1902, allocations: 0 / 454.6 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.1907, allocations: 0.5233 MB / 455.2 MB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.1907, allocations: 60.94 kB / 455.2 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1908, allocations: 6.938 kB / 455.2 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.1909, allocations: 13.2 kB / 455.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.1909, allocations: 22.11 kB / 455.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1909, allocations: 8.578 kB / 455.3 MB, free: 37.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.191, allocations: 192.9 kB / 455.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.191, allocations: 0 / 455.5 MB, free: 37.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.1913, allocations: 91.05 kB / 455.5 MB, free: 37.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/0.1918, allocations: 1.059 MB / 456.6 MB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1921, allocations: 261.1 kB / 456.9 MB, free: 36.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1921, allocations: 2.875 kB / 456.9 MB, free: 36.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1923, allocations: 125.3 kB / 457 MB, free: 36.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.1925, allocations: 28.3 kB / 457 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1948, allocations: 3.089 MB / 460.1 MB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.67e-05/0.1949, allocations: 182.7 kB / 460.3 MB, free: 34.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.195, allocations: 39.58 kB / 460.3 MB, free: 34.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1951, allocations: 109.5 kB / 460.4 MB, free: 34.09 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1951, allocations: 0 / 460.4 MB, free: 34.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2132, allocations: 6.524 MB / 466.9 MB, free: 32.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/7.082, allocations: 6.562 kB / 467 MB, free: 32.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.080369614996016]