Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008453/0.0008453, allocations: 79.7 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.0007684/0.0007684, 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.9024/0.9024, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2612/0.2612, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.441e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.1889/0.1889, allocations: 1.885 MB / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.1897, allocations: 0.561 MB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.1898, allocations: 4.594 kB / 444.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.1899, allocations: 28.72 kB / 444.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.19, allocations: 43.23 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.1901, allocations: 41.95 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1903, allocations: 156.8 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1904, allocations: 44.52 kB / 444.9 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1905, allocations: 86.55 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.1906, allocations: 46.7 kB / 445 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1906, allocations: 14.62 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.1906, allocations: 14.72 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.1906, allocations: 28.73 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.1907, allocations: 46.19 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1908, allocations: 166.6 kB / 445.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1908, allocations: 0 / 445.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1908, allocations: 0 / 445.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1908, allocations: 0 / 445.3 MB, free: 43.13 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.0003903/0.1912, allocations: 380.1 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1912, allocations: 11.28 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.1913, allocations: 47.64 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.1913, allocations: 20.44 kB / 445.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1915, allocations: 138.4 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1915, allocations: 10 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1915, allocations: 18.45 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1917, allocations: 136.4 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1917, allocations: 192 / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1917, allocations: 8.062 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1917, allocations: 3 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1919, allocations: 107.6 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.1924, allocations: 0.5512 MB / 446.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1926, allocations: 66.66 kB / 446.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.1927, allocations: 31.27 kB / 446.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1927, allocations: 3.062 kB / 446.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.1927, allocations: 33.31 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1927, allocations: 0 / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002257/0.1929, allocations: 109.8 kB / 447 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1929, allocations: 51.41 kB / 447 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.193, allocations: 163.4 kB / 447.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.193, allocations: 25.7 kB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.1931, allocations: 137.9 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.1931, allocations: 26.78 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1931, allocations: 27.75 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.1931, allocations: 320.8 kB / 447.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.1932, allocations: 30.55 kB / 447.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.1932, allocations: 60.64 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1934, allocations: 95.81 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1934, allocations: 0 / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001377/0.1935, allocations: 124.7 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1935, allocations: 5.375 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1935, allocations: 4 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1935, allocations: 2.625 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.1936, allocations: 28.38 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1936, allocations: 0 / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1936, allocations: 23.2 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1936, allocations: 2.719 kB / 448.1 MB, free: 41.23 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.908e-05/0.1937, allocations: 124.6 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.1937, allocations: 9.641 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.1937, allocations: 18.41 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1937, allocations: 0 / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1937, allocations: 0 / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1937, allocations: 3.938 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.1939, allocations: 172.5 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1939, allocations: 1.312 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.1939, allocations: 18.27 kB / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.1939, allocations: 0 / 448.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1939, allocations: 5.5 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1939, allocations: 3.938 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1939, allocations: 2.625 kB / 448.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.194, allocations: 196.1 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.194, allocations: 10.84 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.194, allocations: 0 / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.1941, allocations: 6.297 kB / 448.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.1941, allocations: 10.23 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1941, allocations: 3.938 kB / 448.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.1942, allocations: 111 kB / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1942, allocations: 0 / 448.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.1943, allocations: 33.25 kB / 448.8 MB, free: 40.64 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.00022/0.1945, allocations: 0.7059 MB / 449.5 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1947, allocations: 72.58 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1947, allocations: 0 / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.1947, allocations: 31.06 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1949, allocations: 20 kB / 449.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1959, allocations: 1.621 MB / 451.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.196, allocations: 100.5 kB / 451.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.196, allocations: 6.484 kB / 451.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1961, allocations: 38.52 kB / 451.4 MB, free: 38.46 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1961, allocations: 2.469 kB / 451.4 MB, free: 38.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.2119, allocations: 2.83 MB / 454.2 MB, free: 37.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.888, allocations: 7.438 kB / 454.2 MB, free: 37.49 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.843507326208055]