Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.0008324/0.0008324, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003712/0.003712, allocations: 158 kB / 24.7 MB, free: 9.418 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.9078/0.9078, allocations: 177 MB / 204.9 MB, free: 5.742 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.2539/0.2539, allocations: 34.25 MB / 295.6 MB, free: 0.6641 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: translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.234e-05, allocations: 2.281 kB / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.1887/0.1887, allocations: 1.888 MB / 445.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006153/0.1894, allocations: 0.5582 MB / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.1894, allocations: 3.062 kB / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1896, allocations: 35.23 kB / 445.9 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.1897, allocations: 40.19 kB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.1898, allocations: 45.72 kB / 446 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1899, allocations: 158.2 kB / 446.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.19, allocations: 41.88 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.1901, allocations: 82.47 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.1901, allocations: 45.06 kB / 446.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1902, allocations: 13.97 kB / 446.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.1902, allocations: 14.03 kB / 446.3 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.1902, allocations: 35.84 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1902, allocations: 45.45 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1904, allocations: 162.4 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1904, allocations: 3.938 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1904, allocations: 3.312 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1904, allocations: 0 / 446.6 MB, free: 43.19 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.0004128/0.1908, allocations: 372.3 kB / 446.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1908, allocations: 8.406 kB / 446.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.1909, allocations: 19.94 kB / 446.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1911, allocations: 141 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1911, allocations: 12.78 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1911, allocations: 11.19 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1913, allocations: 146.1 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1913, allocations: 192 / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1913, allocations: 7.25 kB / 447.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1913, allocations: 7.562 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1915, allocations: 100.3 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.192, allocations: 0.5235 MB / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1921, allocations: 62.95 kB / 447.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.1922, allocations: 33.62 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1922, allocations: 0 / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.039e-05/0.1922, allocations: 33.12 kB / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 5.81e-07/0.1922, allocations: 0 / 448 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002179/0.1924, allocations: 108.8 kB / 448.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.1924, allocations: 55.41 kB / 448.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1925, allocations: 149.8 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.1925, allocations: 25.7 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1926, allocations: 138.8 kB / 448.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.1926, allocations: 18.86 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.1926, allocations: 26.81 kB / 448.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.778e-05/0.1926, allocations: 325.1 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.1927, allocations: 31.67 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.1927, allocations: 69.97 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.1928, allocations: 95.55 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1928, allocations: 0 / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001324/0.193, allocations: 128.8 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.193, allocations: 5.781 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.193, allocations: 2.906 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.193, allocations: 5.094 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.1931, allocations: 23.8 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1931, allocations: 2.875 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1931, allocations: 20.95 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1931, allocations: 2.906 kB / 449.2 MB, free: 41.21 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.545e-05/0.1932, allocations: 131.6 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1932, allocations: 9.328 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.1932, allocations: 14.7 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1932, allocations: 2.969 kB / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1932, allocations: 0 / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1932, allocations: 0 / 449.4 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.1933, allocations: 141.9 kB / 449.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.1933, allocations: 0 / 449.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.1933, allocations: 22.05 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1933, allocations: 2.844 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1933, allocations: 0 / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1933, allocations: 4 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1933, allocations: 0 / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1934, allocations: 189.7 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1935, allocations: 14.7 kB / 449.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.1935, allocations: 0 / 449.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.1935, allocations: 9.531 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1935, allocations: 6.781 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1935, allocations: 3.234 kB / 449.8 MB, free: 40.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.192e-05/0.1936, allocations: 115.5 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 2.875 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.1937, allocations: 27.2 kB / 449.9 MB, free: 40.65 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 5.735e-05/0.1938, allocations: 93.94 kB / 450 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1939, allocations: 68.52 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.91e-07/0.1939, allocations: 3.938 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.194, allocations: 25.66 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.1941, allocations: 10.53 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.1945, allocations: 277.8 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.1945, allocations: 91.52 kB / 450.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1945, allocations: 15.38 kB / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1945, allocations: 0 / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of Templates: time 0.001752/0.1963, allocations: 1.32 MB / 451.8 MB, free: 40.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.579095173627138]