Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9087/0.9087, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 32.8 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.127e-05, allocations: 5.234 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002519/0.00254, allocations: 1.883 MB / 441.5 MB, free: 2.387 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.003457, allocations: 0.5609 MB / 442 MB, free: 1.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.003567, allocations: 4 kB / 442 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.003752, allocations: 35.66 kB / 442.1 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.00388, allocations: 43.64 kB / 442.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.004047, allocations: 39.94 kB / 442.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.004202, allocations: 155.4 kB / 442.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.004337, allocations: 41.78 kB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004452, allocations: 83.86 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.004515, allocations: 55.8 kB / 442.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.004543, allocations: 12 kB / 442.5 MB, free: 1.359 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.004558, allocations: 12 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.004584, allocations: 23.92 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.004626, allocations: 51.84 kB / 442.6 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004802, allocations: 167.4 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.004806, allocations: 0 / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.838e-06/0.00481, allocations: 3.984 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.004814, allocations: 0 / 442.7 MB, free: 1.105 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004846/0.005299, allocations: 370 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.005339, allocations: 8.031 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.005384, allocations: 50.73 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.005416, allocations: 16.84 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.00564, allocations: 150.2 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.005653, allocations: 8.656 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.005668, allocations: 12.38 kB / 443.3 MB, free: 448 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.005908, allocations: 140.4 kB / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005917, allocations: 192 / 443.5 MB, free: 304 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.005932, allocations: 20.06 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005939, allocations: 4 kB / 443.5 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.006109, allocations: 100.8 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1855/0.1916, allocations: 0.5349 MB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1917, allocations: 66.45 kB / 444.2 MB, free: 46.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1918, allocations: 28.97 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1918, allocations: 0 / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.1918, allocations: 38.97 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1918, allocations: 0 / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002316/0.1921, allocations: 112.9 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.1921, allocations: 55.91 kB / 444.4 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.1922, allocations: 152.9 kB / 444.6 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.1922, allocations: 27.77 kB / 444.6 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1922, allocations: 137 kB / 444.7 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.1922, allocations: 21.09 kB / 444.7 MB, free: 45.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.1923, allocations: 31.36 kB / 444.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.023e-05/0.1923, allocations: 321.8 kB / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.1923, allocations: 30.09 kB / 445.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.1924, allocations: 61.81 kB / 445.2 MB, free: 45.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1925, allocations: 101.5 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1925, allocations: 0 / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001455/0.1927, allocations: 126.6 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1927, allocations: 5.469 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1927, allocations: 2.656 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1927, allocations: 2.625 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.1928, allocations: 30.59 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1928, allocations: 2.75 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1928, allocations: 14.73 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1928, allocations: 9.719 kB / 445.5 MB, free: 45.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.1929, allocations: 128 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1929, allocations: 6.734 kB / 445.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.1929, allocations: 17.05 kB / 445.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1929, allocations: 0 / 445.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1929, allocations: 2.781 kB / 445.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1929, allocations: 0 / 445.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.193, allocations: 174.4 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.193, allocations: 0.6562 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.1931, allocations: 19.78 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1931, allocations: 2.594 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1931, allocations: 1.406 kB / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1931, allocations: 0 / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1931, allocations: 0 / 445.8 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1932, allocations: 200.3 kB / 446 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.1932, allocations: 7.047 kB / 446 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1932, allocations: 6.328 kB / 446 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.1933, allocations: 4 kB / 446 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1933, allocations: 6.922 kB / 446 MB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1933, allocations: 2.906 kB / 446 MB, free: 45.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.1934, allocations: 116.1 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1934, allocations: 0 / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.1935, allocations: 31.36 kB / 446.2 MB, free: 44.93 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 (5): * Single equations (assignments): 5 * 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.0002136/0.1937, allocations: 0.7101 MB / 446.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1939, allocations: 70.45 kB / 447 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1939, allocations: 3.531 kB / 447 MB, free: 44.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.1939, allocations: 32.19 kB / 447 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1942, allocations: 7.062 kB / 447 MB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1952, allocations: 1.635 MB / 448.6 MB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.1952, allocations: 98.92 kB / 448.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.1953, allocations: 11.08 kB / 448.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.1954, allocations: 38.45 kB / 448.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1954, allocations: 0.9844 kB / 448.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2092, allocations: 2.832 MB / 451.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.837, allocations: 14.5 kB / 451.6 MB, free: 41.8 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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: 8.768917893059552]