Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008634/0.0008634, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8785/0.8785, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 34.26 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.229e-05, allocations: 3.828 kB / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.1549/0.1549, allocations: 2.358 MB / 444.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.1559, allocations: 1.03 MB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.156, allocations: 5.938 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.1566, allocations: 495.4 kB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1568, allocations: 119 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1572, allocations: 456.7 kB / 446.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1574, allocations: 233.5 kB / 446.8 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.1577, allocations: 211 kB / 447 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1578, allocations: 159.5 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.1579, allocations: 92.39 kB / 447.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.1579, allocations: 21 kB / 447.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1581, allocations: 145.8 kB / 447.4 MB, free: 42.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1581, allocations: 46.97 kB / 447.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.1582, allocations: 80.52 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1584, allocations: 419.3 kB / 448 MB, free: 41.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1584, allocations: 2.406 kB / 448 MB, free: 41.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1584, allocations: 4 kB / 448 MB, free: 41.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1584, allocations: 0 / 448 MB, free: 41.9 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.0006804/0.1591, allocations: 0.5457 MB / 448.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1591, allocations: 8.938 kB / 448.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.1592, allocations: 58.16 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1593, allocations: 50.84 kB / 448.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.1594, allocations: 138.1 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1594, allocations: 20.86 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.1594, allocations: 25.25 kB / 448.8 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.1598, allocations: 285.1 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1598, allocations: 2.781 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1598, allocations: 14.91 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1598, allocations: 12.22 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.1601, allocations: 233.8 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.1608, allocations: 0.8682 MB / 450.2 MB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1611, allocations: 202.9 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1612, allocations: 125.6 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.222e-05/0.1613, allocations: 21.81 kB / 450.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.1613, allocations: 41.38 kB / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.1613, allocations: 0 / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005767/0.1619, allocations: 346.1 kB / 450.9 MB, free: 40.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.1619, allocations: 79.73 kB / 451 MB, free: 39.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.162, allocations: 145.9 kB / 451.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.162, allocations: 25.7 kB / 451.2 MB, free: 39.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.162, allocations: 147 kB / 451.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.162, allocations: 73.67 kB / 451.4 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1621, allocations: 39.34 kB / 451.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.614e-05/0.1621, allocations: 328.2 kB / 451.8 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.1622, allocations: 70.28 kB / 451.8 MB, free: 39.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1623, allocations: 128.8 kB / 452 MB, free: 39.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.1625, allocations: 202.5 kB / 452.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1625, allocations: 0 / 452.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003008/0.1628, allocations: 283.7 kB / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1629, allocations: 5.812 kB / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1629, allocations: 112 / 452.4 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.163, allocations: 59.31 kB / 452.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.1631, allocations: 45.91 kB / 452.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000773/0.1638, allocations: 2.618 MB / 455.2 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.1639, allocations: 31.67 kB / 455.2 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1639, allocations: 5.656 kB / 455.2 MB, free: 36.31 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 6.506e-05/0.164, allocations: 154.4 kB / 455.3 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.164, allocations: 15.33 kB / 455.4 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.1643, allocations: 265.1 kB / 455.6 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1643, allocations: 0 / 455.6 MB, free: 36.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1643, allocations: 9.844 kB / 455.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1643, allocations: 0 / 455.6 MB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.1649, allocations: 0.5955 MB / 456.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1649, allocations: 2.906 kB / 456.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.421e-05/0.1649, allocations: 32.06 kB / 456.3 MB, free: 35.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-05/0.165, allocations: 52.72 kB / 456.3 MB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.165, allocations: 11.56 kB / 456.3 MB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006893/0.1657, allocations: 2.618 MB / 458.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1657, allocations: 0 / 458.9 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.1661, allocations: 0.5208 MB / 459.5 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.1661, allocations: 17.31 kB / 459.5 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1661, allocations: 6.969 kB / 459.5 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.1662, allocations: 12.48 kB / 459.5 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1663, allocations: 26.78 kB / 459.5 MB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1663, allocations: 9.906 kB / 459.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.1663, allocations: 105.9 kB / 459.6 MB, free: 32.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1663, allocations: 2.062 kB / 459.6 MB, free: 32.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.1666, allocations: 78.14 kB / 459.7 MB, free: 32.48 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.0005886/0.1672, allocations: 1.078 MB / 460.8 MB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.1675, allocations: 411.3 kB / 461.2 MB, free: 31.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1675, allocations: 2.875 kB / 461.2 MB, free: 31.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1677, allocations: 328.9 kB / 461.5 MB, free: 31.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.168, allocations: 13.91 kB / 461.5 MB, free: 31.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1695, allocations: 2.316 MB / 463.8 MB, free: 29.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.1696, allocations: 130.2 kB / 464 MB, free: 29.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.1696, allocations: 15.14 kB / 464 MB, free: 29.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.1697, allocations: 57.45 kB / 464 MB, free: 29.13 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1697, allocations: 0 / 464 MB, free: 29.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.187, allocations: 5.216 MB / 469.3 MB, free: 27.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.238, allocations: 3.938 kB / 469.3 MB, free: 27.87 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.14757867809385]