Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.0008488/0.0008488, allocations: 80.36 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.001051/0.001051, allocations: 160.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.9266/0.9266, allocations: 177 MB / 204.1 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.2622/0.2622, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sources,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.015e-05, allocations: 13.03 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.1794/0.1794, allocations: 2.504 MB / 444.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.1804, allocations: 0.766 MB / 445.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1805, allocations: 7.406 kB / 445.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1807, allocations: 64.92 kB / 445.5 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1809, allocations: 112.2 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.1811, allocations: 109.8 kB / 445.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1813, allocations: 437.2 kB / 446.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1815, allocations: 95.64 kB / 446.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.1817, allocations: 225 kB / 446.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.1818, allocations: 122.3 kB / 446.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1818, allocations: 38.16 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.074e-05/0.1819, allocations: 31.16 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.1819, allocations: 79.39 kB / 446.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.809e-05/0.182, allocations: 127.4 kB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1822, allocations: 432.7 kB / 447.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1822, allocations: 0 / 447.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1822, allocations: 0 / 447.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1822, allocations: 0 / 447.2 MB, free: 41.93 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0006346/0.1829, allocations: 0.6038 MB / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1829, allocations: 10.72 kB / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.183, allocations: 71.58 kB / 447.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.183, allocations: 43.5 kB / 448 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1833, allocations: 230.6 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1833, allocations: 25.09 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1833, allocations: 31.47 kB / 448.3 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.1837, allocations: 367.4 kB / 448.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1837, allocations: 0 / 448.6 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1837, allocations: 10.97 kB / 448.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1837, allocations: 8.75 kB / 448.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1841, allocations: 267.4 kB / 448.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1851, allocations: 1.225 MB / 450.1 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1854, allocations: 193.7 kB / 450.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1855, allocations: 73.23 kB / 450.4 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1855, allocations: 14 kB / 450.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.1855, allocations: 37.41 kB / 450.4 MB, free: 39.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.1855, allocations: 0 / 450.4 MB, free: 39.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004505/0.186, allocations: 258.2 kB / 450.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.186, allocations: 134.6 kB / 450.8 MB, free: 39.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1862, allocations: 345.1 kB / 451.2 MB, free: 39.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.1862, allocations: 29.64 kB / 451.2 MB, free: 39.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.1863, allocations: 247 kB / 451.4 MB, free: 39.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1863, allocations: 56.27 kB / 451.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.1864, allocations: 57.19 kB / 451.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.1864, allocations: 345 kB / 451.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1866, allocations: 79.86 kB / 451.9 MB, free: 38.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1867, allocations: 166.9 kB / 452.1 MB, free: 38.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.187, allocations: 248.6 kB / 452.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.187, allocations: 7.656 kB / 452.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003438/0.1873, allocations: 313.1 kB / 452.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1874, allocations: 5.656 kB / 452.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1874, allocations: 5.625 kB / 452.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1874, allocations: 5.5 kB / 452.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.1876, allocations: 87.05 kB / 452.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1876, allocations: 9.656 kB / 452.8 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1877, allocations: 51.23 kB / 452.8 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1877, allocations: 12.81 kB / 452.8 MB, free: 38.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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 8.212e-05/0.1878, allocations: 154.3 kB / 453 MB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.1878, allocations: 34.14 kB / 453 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1879, allocations: 37.33 kB / 453.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1879, allocations: 2.781 kB / 453.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1879, allocations: 0 / 453.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1879, allocations: 6.656 kB / 453.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1883, allocations: 0.5406 MB / 453.6 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1883, allocations: 3.125 kB / 453.6 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1884, allocations: 54.3 kB / 453.7 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1884, allocations: 2.906 kB / 453.7 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1884, allocations: 6.969 kB / 453.7 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1885, allocations: 160 / 453.7 MB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1885, allocations: 14.88 kB / 453.7 MB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1887, allocations: 386.5 kB / 454.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.1887, allocations: 37.94 kB / 454.1 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1887, allocations: 7.219 kB / 454.1 MB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1889, allocations: 19.38 kB / 454.1 MB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1889, allocations: 20.84 kB / 454.2 MB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1889, allocations: 13.69 kB / 454.2 MB, free: 37.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.189, allocations: 234.7 kB / 454.4 MB, free: 37.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.189, allocations: 0 / 454.4 MB, free: 37.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.1893, allocations: 72.47 kB / 454.5 MB, free: 37.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.000371/0.1896, allocations: 0.9226 MB / 455.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.1899, allocations: 185.1 kB / 455.6 MB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1899, allocations: 2.875 kB / 455.6 MB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.19, allocations: 82.86 kB / 455.7 MB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1903, allocations: 25.53 kB / 455.7 MB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.1928, allocations: 2.977 MB / 458.7 MB, free: 34.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.1929, allocations: 169.1 kB / 458.8 MB, free: 34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.1929, allocations: 34.12 kB / 458.9 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.193, allocations: 104.8 kB / 459 MB, free: 33.9 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.193, allocations: 0 / 459 MB, free: 33.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.2083, allocations: 5.681 MB / 464.6 MB, free: 32.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.172, allocations: 19.2 kB / 464.7 MB, free: 32.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Sources.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable constantSource.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable constantSource1.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable constantSource1.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! Error: Could not read variable signalSource1.V_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv. Warning: Get data of variable signalSource1.V_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.285302150063217]