Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.0008295/0.0008295, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.0008589/0.0008589, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.9001/0.9001, allocations: 177 MB / 204.1 MB, free: 5.754 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.2394/0.2394, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.275e-05, allocations: 4.672 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.1673/0.1673, allocations: 2.353 MB / 444.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.1683, allocations: 1.022 MB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.1684, allocations: 6.438 kB / 445.5 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.169, allocations: 499.4 kB / 446 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1692, allocations: 118.1 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.1696, allocations: 453.7 kB / 446.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1698, allocations: 230.9 kB / 446.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.1701, allocations: 215.9 kB / 447 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1702, allocations: 152.7 kB / 447.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.1703, allocations: 95.97 kB / 447.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1703, allocations: 23.28 kB / 447.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1705, allocations: 145.1 kB / 447.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1705, allocations: 46.23 kB / 447.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1706, allocations: 79.91 kB / 447.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.1708, allocations: 419.4 kB / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1708, allocations: 0 / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1708, allocations: 2.938 kB / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1708, allocations: 2.906 kB / 447.9 MB, free: 41.77 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006904/0.1715, allocations: 0.5438 MB / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1716, allocations: 11.72 kB / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1716, allocations: 62.95 kB / 448.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1718, allocations: 57 kB / 448.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.202e-05/0.1718, allocations: 131.2 kB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1719, allocations: 27.75 kB / 448.8 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1719, allocations: 22.47 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1722, allocations: 288.5 kB / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1722, allocations: 192 / 449.1 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1723, allocations: 18.66 kB / 449.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1723, allocations: 5.594 kB / 449.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.1725, allocations: 229.8 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.1734, allocations: 0.865 MB / 450.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1736, allocations: 205.9 kB / 450.4 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1738, allocations: 126.8 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/0.1738, allocations: 19 kB / 450.5 MB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.1739, allocations: 37.31 kB / 450.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.1739, allocations: 0 / 450.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005881/0.1744, allocations: 349.6 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.1745, allocations: 83.98 kB / 451 MB, free: 39.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.1745, allocations: 144.9 kB / 451.1 MB, free: 39.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.1745, allocations: 29.7 kB / 451.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.1746, allocations: 146.1 kB / 451.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1746, allocations: 67.56 kB / 451.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1746, allocations: 39.39 kB / 451.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.099e-05/0.1747, allocations: 320.9 kB / 451.7 MB, free: 39.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.1748, allocations: 73.47 kB / 451.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1749, allocations: 135.5 kB / 451.9 MB, free: 39.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.1751, allocations: 206.8 kB / 452.1 MB, free: 38.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1751, allocations: 0 / 452.1 MB, free: 38.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002872/0.1754, allocations: 275.8 kB / 452.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1754, allocations: 5.656 kB / 452.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1754, allocations: 4.188 kB / 452.4 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.1755, allocations: 47.59 kB / 452.5 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.1756, allocations: 49.88 kB / 452.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007886/0.1764, allocations: 2.625 MB / 455.1 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.1765, allocations: 31.23 kB / 455.2 MB, free: 36.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1765, allocations: 16.08 kB / 455.2 MB, free: 36.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.1766, allocations: 142.4 kB / 455.3 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1766, allocations: 12.42 kB / 455.3 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.1769, allocations: 265.5 kB / 455.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1769, allocations: 2.875 kB / 455.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1769, allocations: 3.312 kB / 455.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1769, allocations: 3.328 kB / 455.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.1775, allocations: 0.5926 MB / 456.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1775, allocations: 2.969 kB / 456.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.1775, allocations: 36.97 kB / 456.2 MB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-05/0.1776, allocations: 46.75 kB / 456.3 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1776, allocations: 6.812 kB / 456.3 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006571/0.1783, allocations: 2.637 MB / 458.9 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1783, allocations: 0 / 458.9 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.1787, allocations: 0.5123 MB / 459.4 MB, free: 32.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.1787, allocations: 20.8 kB / 459.5 MB, free: 32.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1787, allocations: 6.906 kB / 459.5 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.1788, allocations: 15.92 kB / 459.5 MB, free: 32.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1788, allocations: 23.69 kB / 459.5 MB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1788, allocations: 5.812 kB / 459.5 MB, free: 32.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.194e-05/0.1789, allocations: 110.9 kB / 459.6 MB, free: 32.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1789, allocations: 0 / 459.6 MB, free: 32.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.1791, allocations: 74.09 kB / 459.7 MB, free: 32.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0005902/0.1797, allocations: 1.073 MB / 460.8 MB, free: 31.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.1801, allocations: 410.1 kB / 461.2 MB, free: 31.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1801, allocations: 0 / 461.2 MB, free: 31.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1802, allocations: 335.5 kB / 461.5 MB, free: 30.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1805, allocations: 16.34 kB / 461.5 MB, free: 30.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.182, allocations: 2.326 MB / 463.8 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.221e-05/0.1821, allocations: 123.2 kB / 463.9 MB, free: 29.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.1821, allocations: 18.06 kB / 464 MB, free: 29.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.1822, allocations: 54 kB / 464 MB, free: 29 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1822, allocations: 0 / 464 MB, free: 29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2, allocations: 5.213 MB / 469.2 MB, free: 27.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/7.133, allocations: 3.938 kB / 469.2 MB, free: 27.74 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 9.09791882801801]