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.001362/0.001362, allocations: 115.4 kB / 18.45 MB, free: 4.562 MB / 14.72 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.001475/0.001475, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2289/0.2289, allocations: 46.91 MB / 357.8 MB, free: 10.29 MB / 286.1 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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 59.91 kB / 0.4921 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1302, allocations: 66 MB / 0.5565 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004643/0.1348, allocations: 2.488 MB / 0.5589 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.137, allocations: 1.113 MB / 0.56 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1372, allocations: 8 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1385, allocations: 0.5018 MB / 0.5605 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1389, allocations: 115.2 kB / 0.5606 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.1398, allocations: 482.1 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1401, allocations: 227 kB / 0.5613 GB, free: 372 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.1406, allocations: 198.3 kB / 0.5615 GB, free: 172 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1407, allocations: 103.7 kB / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1409, allocations: 135.5 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.141, allocations: 24 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.1414, allocations: 147.9 kB / 0.5619 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1414, allocations: 51.83 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1415, allocations: 107.5 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.1421, allocations: 414.4 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1422, allocations: 0 / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1422, allocations: 0 / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1422, allocations: 0 / 0.5624 GB, free: 15.2 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001405/0.1436, allocations: 0.6315 MB / 0.5631 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1436, allocations: 8.031 kB / 0.5631 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.1439, allocations: 48.77 kB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1441, allocations: 192 kB / 0.5633 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.1441, allocations: 20.88 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.1442, allocations: 24.38 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.1449, allocations: 295.7 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1449, allocations: 0 / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.1449, allocations: 8 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1449, allocations: 8 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1455, allocations: 229.6 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1472, allocations: 0.9977 MB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.1478, allocations: 374.4 kB / 0.5652 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.1481, allocations: 117.7 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.1483, allocations: 170.2 kB / 0.5655 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1484, allocations: 34.56 kB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.1484, allocations: 0 / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.00135/0.1497, allocations: 0.4992 MB / 0.566 GB, free: 11.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.1498, allocations: 77.11 kB / 0.566 GB, free: 11.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1499, allocations: 148.1 kB / 0.5662 GB, free: 11.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.15, allocations: 25.7 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1501, allocations: 152.3 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.1501, allocations: 75.33 kB / 0.5664 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.1502, allocations: 45.73 kB / 0.5665 GB, free: 10.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1504, allocations: 318.8 kB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.1506, allocations: 71.95 kB / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1508, allocations: 122 kB / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.1513, allocations: 208.9 kB / 0.5672 GB, free: 9.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1513, allocations: 0 / 0.5672 GB, free: 9.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006611/0.152, allocations: 282.9 kB / 0.5674 GB, free: 9.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.152, allocations: 8 kB / 0.5674 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.152, allocations: 0 / 0.5674 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.1522, allocations: 45.7 kB / 0.5675 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1525, allocations: 47.89 kB / 0.5675 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.1548, allocations: 2.84 MB / 0.5703 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.1549, allocations: 31.83 kB / 0.5703 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.155, allocations: 8 kB / 0.5703 GB, free: 6.387 MB / 430.1 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 0.0001942/0.1552, allocations: 148 kB / 0.5705 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.1552, allocations: 7.953 kB / 0.5705 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007182/0.1559, allocations: 276.1 kB / 0.5708 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1559, allocations: 4 kB / 0.5708 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.156, allocations: 0 / 0.5708 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.156, allocations: 0 / 0.5708 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1572, allocations: 0.6463 MB / 0.5714 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.1572, allocations: 7.922 kB / 0.5714 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1573, allocations: 35.97 kB / 0.5714 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/0.1575, allocations: 45.69 kB / 0.5715 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1575, allocations: 11.94 kB / 0.5715 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.1596, allocations: 2.836 MB / 0.5743 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1597, allocations: 32 / 0.5743 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.1606, allocations: 0.5255 MB / 0.5748 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1607, allocations: 89.12 kB / 0.5749 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1607, allocations: 4 kB / 0.5749 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1609, allocations: 15.98 kB / 0.5749 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.1609, allocations: 27.91 kB / 0.5749 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.161, allocations: 4 kB / 0.5749 GB, free: 1.293 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.39e-05/0.161, allocations: 109.4 kB / 0.575 GB, free: 1.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.161, allocations: 0 / 0.575 GB, free: 1.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004628/0.1615, allocations: 75.78 kB / 0.5751 GB, free: 1.113 MB / 430.1 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.0002466/0.1618, allocations: 131.1 kB / 0.5752 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.1626, allocations: 405.2 kB / 0.5756 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1626, allocations: 3.938 kB / 0.5756 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.163, allocations: 333.7 kB / 0.5759 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1634, allocations: 11.94 kB / 0.5759 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1644, allocations: 0.5012 MB / 0.5764 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1648, allocations: 0.74 MB / 0.5771 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1649, allocations: 15.44 kB / 0.5771 GB, free: 14.86 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1649, allocations: 0 / 0.5771 GB, free: 14.86 MB / 446.1 MB Notification: Performance of Templates: time 0.007093/0.172, allocations: 4.37 MB / 0.5814 GB, free: 10.49 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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: 8.332251398009248]