Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 95.91 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004993, allocations: 8.688 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003338/0.1752, allocations: 2.225 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1768, allocations: 0.7092 MB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.177, allocations: 11.94 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.1773, allocations: 43.62 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1777, allocations: 87.44 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.178, allocations: 79.91 kB / 474.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.1786, allocations: 366.6 kB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.1788, allocations: 119.6 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.1791, allocations: 123.5 kB / 475.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1794, allocations: 147.2 kB / 475.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.1794, allocations: 16 kB / 475.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.1795, allocations: 20 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.1796, allocations: 63.75 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1797, allocations: 89.52 kB / 475.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.18, allocations: 307.1 kB / 476 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1801, allocations: 0 / 476 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1801, allocations: 0 / 476 MB, free: 9.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1801, allocations: 0 / 476 MB, free: 9.293 MB / 350.1 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.001139/0.1812, allocations: 0.616 MB / 476.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1813, allocations: 12.03 kB / 476.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1814, allocations: 39.53 kB / 476.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1818, allocations: 267.5 kB / 476.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.1818, allocations: 25 kB / 476.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.1819, allocations: 32 kB / 477 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.1827, allocations: 370.6 kB / 477.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1827, allocations: 0 / 477.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1827, allocations: 16 kB / 477.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1828, allocations: 11.98 kB / 477.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.1834, allocations: 280.9 kB / 477.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.1857, allocations: 1.371 MB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.1862, allocations: 206.6 kB / 479.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1864, allocations: 95.45 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.1865, allocations: 4 kB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.1865, allocations: 46.69 kB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.1865, allocations: 0 / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008268/0.1874, allocations: 277.1 kB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1875, allocations: 132.5 kB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.1879, allocations: 328.4 kB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.188, allocations: 25.7 kB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1882, allocations: 235.7 kB / 480.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.1882, allocations: 59.19 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.1882, allocations: 4 kB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1884, allocations: 342.8 kB / 480.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.1887, allocations: 92.44 kB / 480.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1891, allocations: 184.1 kB / 481 MB, free: 3.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1893, allocations: 104 kB / 481.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.1894, allocations: 0 / 481.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006677/0.19, allocations: 329.1 kB / 481.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1901, allocations: 8 kB / 481.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.1901, allocations: 8.516 kB / 481.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1901, allocations: 4 kB / 481.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1905, allocations: 103.9 kB / 481.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.1905, allocations: 4 kB / 481.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1908, allocations: 55.56 kB / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1908, allocations: 16 kB / 481.6 MB, free: 3.289 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.191, allocations: 154.2 kB / 481.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1911, allocations: 27.62 kB / 481.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/0.1912, allocations: 38.41 kB / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1912, allocations: 3.953 kB / 481.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.1912, allocations: 4 kB / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1913, allocations: 3.984 kB / 481.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.1922, allocations: 0.5877 MB / 482.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1922, allocations: 4.031 kB / 482.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.1925, allocations: 67.94 kB / 482.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1925, allocations: 4 kB / 482.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1925, allocations: 4 kB / 482.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1926, allocations: 8 kB / 482.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.1926, allocations: 8.219 kB / 482.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.1932, allocations: 410.6 kB / 482.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.1933, allocations: 112.7 kB / 483 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.1933, allocations: 8 kB / 483 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.1935, allocations: 19.97 kB / 483 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.1936, allocations: 19.92 kB / 483.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1936, allocations: 4 kB / 483.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.1939, allocations: 227.1 kB / 483.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1939, allocations: 0 / 483.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1943, allocations: 75.78 kB / 483.4 MB, free: 1.391 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001143/0.1944, allocations: 91.25 kB / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005247/0.195, allocations: 219.7 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.195, allocations: 0.5 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.1952, allocations: 87.83 kB / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.1957, allocations: 29.39 kB / 483.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.197, allocations: 0.659 MB / 484.4 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.1975, allocations: 0.7755 MB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.1976, allocations: 25.94 kB / 485.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1977, allocations: 23.38 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1977, allocations: 0 / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006119/0.2038, allocations: 1.566 MB / 486.8 MB, free: 13.85 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches