Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001806/0.001806, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 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.002297/0.002297, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 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 1.524/1.524, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2248/0.2248, allocations: 46.92 MB / 357.7 MB, free: 10.26 MB / 286.1 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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 83.86 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 66.05 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007214/0.1454, allocations: 5.35 MB / 0.5614 GB, free: 196 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.1486, allocations: 1.658 MB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.1489, allocations: 16 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003634/0.1526, allocations: 1.608 MB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008426/0.1534, allocations: 309.6 kB / 0.5649 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1546, allocations: 0.5212 MB / 0.5654 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009645/0.1556, allocations: 0.8163 MB / 0.5662 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009114/0.1565, allocations: 0.5533 MB / 0.5667 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.1569, allocations: 350.7 kB / 0.5671 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.1575, allocations: 462.2 kB / 0.5675 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.861e-05/0.1576, allocations: 72 kB / 0.5676 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.158, allocations: 199.9 kB / 0.5678 GB, free: 9.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1582, allocations: 179.3 kB / 0.5679 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.1586, allocations: 425.9 kB / 0.5683 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.16, allocations: 1.167 MB / 0.5695 GB, free: 7.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.16, allocations: 8 kB / 0.5695 GB, free: 7.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1601, allocations: 0 / 0.5695 GB, free: 7.844 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1601, allocations: 0 / 0.5695 GB, free: 7.844 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003484/0.1635, allocations: 1.376 MB / 0.5708 GB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1636, allocations: 12.03 kB / 0.5708 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.746e-05/0.1636, allocations: 26.19 kB / 0.5709 GB, free: 6.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.1638, allocations: 152.4 kB / 0.571 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.1654, allocations: 232.2 kB / 0.5712 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1657, allocations: 259.8 kB / 0.5715 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/0.1658, allocations: 78.12 kB / 0.5716 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.1659, allocations: 96 kB / 0.5716 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.1676, allocations: 0.9399 MB / 0.5726 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.1676, allocations: 7.953 kB / 0.5726 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.1677, allocations: 40 kB / 0.5726 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.1677, allocations: 24 kB / 0.5726 GB, free: 4.504 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.169, allocations: 0.7262 MB / 0.5733 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006087/0.1751, allocations: 4.092 MB / 0.5773 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.1782, allocations: 3.32 MB / 0.5806 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.1787, allocations: 277 kB / 0.5808 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.1789, allocations: 182.5 kB / 0.581 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.1789, allocations: 38.89 kB / 0.5811 GB, free: 10.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.655e-06/0.1789, allocations: 0 / 0.5811 GB, free: 10.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002983/0.1819, allocations: 1.335 MB / 0.5824 GB, free: 9.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.182, allocations: 136.5 kB / 0.5825 GB, free: 9.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.1825, allocations: 318.8 kB / 0.5828 GB, free: 8.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.1825, allocations: 33.7 kB / 0.5828 GB, free: 8.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.1828, allocations: 407.9 kB / 0.5832 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.1831, allocations: 245.9 kB / 0.5834 GB, free: 8.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.1833, allocations: 150.6 kB / 0.5836 GB, free: 8.055 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1835, allocations: 354.7 kB / 0.5839 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/0.1839, allocations: 201.9 kB / 0.5841 GB, free: 7.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.1845, allocations: 400.6 kB / 0.5845 GB, free: 7.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1855, allocations: 0.6181 MB / 0.5851 GB, free: 6.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.1855, allocations: 0 / 0.5851 GB, free: 6.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001825/0.1873, allocations: 0.8773 MB / 0.586 GB, free: 5.434 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.1873, allocations: 8 kB / 0.586 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1873, allocations: 4 kB / 0.586 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/0.1881, allocations: 231.7 kB / 0.5862 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.1886, allocations: 143.7 kB / 0.5863 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2648/0.4534, allocations: 6.703 MB / 0.5929 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.454, allocations: 84.89 kB / 0.593 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.454, allocations: 31.75 kB / 0.593 GB, free: 31.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.4543, allocations: 228.6 kB / 0.5932 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.4544, allocations: 43.12 kB / 0.5932 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.4556, allocations: 0.6765 MB / 0.5939 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4556, allocations: 7.219 kB / 0.5939 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4556, allocations: 9.344 kB / 0.5939 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4556, allocations: 9.672 kB / 0.5939 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.4579, allocations: 1.561 MB / 0.5955 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4579, allocations: 1.375 kB / 0.5955 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.4582, allocations: 72.34 kB / 0.5955 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/0.4587, allocations: 215.5 kB / 0.5957 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.4587, allocations: 17.06 kB / 0.5958 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.4628, allocations: 6.698 MB / 0.6023 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4628, allocations: 7.938 kB / 0.6023 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.4643, allocations: 1.185 MB / 0.6035 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4644, allocations: 131.8 kB / 0.6036 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.4645, allocations: 13.38 kB / 0.6036 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.4648, allocations: 16.78 kB / 0.6036 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.4649, allocations: 56.2 kB / 0.6037 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.465, allocations: 21.5 kB / 0.6037 GB, free: 24.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.4652, allocations: 215.5 kB / 0.6039 GB, free: 24.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4652, allocations: 0 / 0.6039 GB, free: 24.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009709/0.4662, allocations: 286.3 kB / 0.6042 GB, free: 24.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.4679, allocations: 1.764 MB / 0.6059 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4693, allocations: 1.045 MB / 0.6069 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4693, allocations: 3.094 kB / 0.6069 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.4701, allocations: 0.7589 MB / 0.6077 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.4707, allocations: 46.69 kB / 0.6077 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.4773, allocations: 5.127 MB / 0.6127 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.4777, allocations: 0.9148 MB / 0.6136 GB, free: 17.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.4779, allocations: 65.16 kB / 0.6137 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.4781, allocations: 235.7 kB / 0.6139 GB, free: 17.55 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4781, allocations: 0 / 0.6139 GB, free: 17.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.5244, allocations: 11.99 MB / 0.6256 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.37, allocations: 15.17 kB / 0.6256 GB, free: 14.25 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 14.464183936011977]