Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001014/0.001014, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.001027/0.001027, allocations: 156.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.8876/0.8876, allocations: 177 MB / 204.1 MB, free: 5.77 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.2524/0.2524, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.892e-05, allocations: 5.094 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.1653/0.1654, allocations: 3.263 MB / 445.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.1662, allocations: 0.7951 MB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1664, allocations: 8.562 kB / 446.2 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1665, allocations: 75.61 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1667, allocations: 140.7 kB / 446.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1669, allocations: 124.7 kB / 446.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1672, allocations: 0.5379 MB / 447.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1674, allocations: 171.5 kB / 447.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1676, allocations: 322.7 kB / 447.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1677, allocations: 168.8 kB / 447.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.1677, allocations: 48.31 kB / 447.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.1678, allocations: 51.44 kB / 447.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.1678, allocations: 110.2 kB / 447.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.1679, allocations: 175.8 kB / 448.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1682, allocations: 0.5674 MB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1682, allocations: 0.5 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1682, allocations: 2.5 kB / 448.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1682, allocations: 3.281 kB / 448.7 MB, free: 41.38 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0006857/0.1689, allocations: 0.6901 MB / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1689, allocations: 8.688 kB / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.169, allocations: 88.38 kB / 449.5 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.169, allocations: 54.2 kB / 449.5 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1693, allocations: 262 kB / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1694, allocations: 38.78 kB / 449.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1694, allocations: 42.84 kB / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.1698, allocations: 0.509 MB / 450.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1698, allocations: 192 / 450.4 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1699, allocations: 23.19 kB / 450.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1699, allocations: 11.47 kB / 450.4 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.1702, allocations: 319.3 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1714, allocations: 1.522 MB / 452.2 MB, free: 39.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1717, allocations: 223.5 kB / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1719, allocations: 129.1 kB / 452.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1719, allocations: 6.406 kB / 452.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.1719, allocations: 40.73 kB / 452.6 MB, free: 38.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.112e-06/0.1719, allocations: 224 / 452.6 MB, free: 38.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001506/0.1734, allocations: 1.12 MB / 453.7 MB, free: 38.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.1734, allocations: 82.95 kB / 453.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1736, allocations: 263.2 kB / 454.1 MB, free: 37.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1736, allocations: 29.7 kB / 454.1 MB, free: 37.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.1737, allocations: 270.1 kB / 454.4 MB, free: 37.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.1737, allocations: 118.3 kB / 454.5 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.1738, allocations: 78.25 kB / 454.6 MB, free: 37.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.1738, allocations: 342.6 kB / 454.9 MB, free: 37.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1739, allocations: 110 kB / 455 MB, free: 37.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.1741, allocations: 215.8 kB / 455.2 MB, free: 37.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.1744, allocations: 334.6 kB / 455.5 MB, free: 36.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1744, allocations: 0 / 455.5 MB, free: 36.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004121/0.1748, allocations: 430.9 kB / 456 MB, free: 36.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1748, allocations: 9.531 kB / 456 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1748, allocations: 2.875 kB / 456 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.299e-05/0.1749, allocations: 35.89 kB / 456 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.1752, allocations: 124.2 kB / 456.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004538/0.1756, allocations: 1.328 MB / 457.4 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1757, allocations: 18.62 kB / 457.5 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1757, allocations: 22.28 kB / 457.5 MB, free: 35.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.342e-05/0.1758, allocations: 165.6 kB / 457.6 MB, free: 35.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.1759, allocations: 41.19 kB / 457.7 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.1759, allocations: 39.34 kB / 457.7 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1759, allocations: 2.938 kB / 457.7 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1759, allocations: 1.781 kB / 457.7 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1759, allocations: 6.297 kB / 457.7 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.1765, allocations: 0.6415 MB / 458.4 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1765, allocations: 0 / 458.4 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1767, allocations: 97.09 kB / 458.5 MB, free: 34.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.963e-05/0.1767, allocations: 26.97 kB / 458.5 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1767, allocations: 6.906 kB / 458.5 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000401/0.1771, allocations: 1.329 MB / 459.8 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1771, allocations: 3.219 kB / 459.8 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.1776, allocations: 0.5995 MB / 460.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.1777, allocations: 44.14 kB / 460.5 MB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1777, allocations: 10.62 kB / 460.5 MB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1778, allocations: 24 kB / 460.5 MB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1779, allocations: 30.59 kB / 460.5 MB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1779, allocations: 10.31 kB / 460.6 MB, free: 32.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.766e-05/0.178, allocations: 183.8 kB / 460.7 MB, free: 32.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.178, allocations: 0 / 460.7 MB, free: 32.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.1782, allocations: 90.72 kB / 460.8 MB, free: 32.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00059/0.1788, allocations: 1.144 MB / 462 MB, free: 31.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.1792, allocations: 400.7 kB / 462.4 MB, free: 31.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1792, allocations: 3.406 kB / 462.4 MB, free: 31.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1794, allocations: 238.7 kB / 462.6 MB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1797, allocations: 48.64 kB / 462.6 MB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.1821, allocations: 3.405 MB / 466.1 MB, free: 29.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.1822, allocations: 215.4 kB / 466.3 MB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.554e-05/0.1823, allocations: 34.97 kB / 466.3 MB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1824, allocations: 140.4 kB / 466.4 MB, free: 28.94 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1824, allocations: 3.938 kB / 466.4 MB, free: 28.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.2072, allocations: 7.344 MB / 473.8 MB, free: 27.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.619, allocations: 13.67 kB / 473.8 MB, free: 27.43 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.726294487714767]