Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001302/0.001302, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001227/0.001227, allocations: 171.9 kB / 24.82 MB, free: 9.273 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 1.022/1.022, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.774e-05, allocations: 10.31 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005643/0.005661, allocations: 6.267 MB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.008817, allocations: 2.526 MB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.009152, allocations: 20 kB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.01095, allocations: 1.322 MB / 283.5 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009382/0.01189, allocations: 0.5315 MB / 284 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.01323, allocations: 1.193 MB / 285.2 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008239/0.01406, allocations: 1.113 MB / 286.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007176/0.01477, allocations: 0.77 MB / 287.1 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.01526, allocations: 0.6626 MB / 287.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.01563, allocations: 426.8 kB / 288.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-05/0.01572, allocations: 96 kB / 288.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.01618, allocations: 395.4 kB / 288.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.0163, allocations: 243.1 kB / 288.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.01652, allocations: 359.1 kB / 289.2 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008872/0.01741, allocations: 1.098 MB / 290.3 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01741, allocations: 0 / 290.3 MB, free: 148 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01741, allocations: 0 / 290.3 MB, free: 148 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.01742, allocations: 4 kB / 290.3 MB, free: 144 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.1095/0.127, allocations: 1.835 MB / 292.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.127, allocations: 11.31 kB / 292.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.1297, allocations: 0.6413 MB / 292.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007048/0.1304, allocations: 443.2 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.1305, allocations: 86.25 kB / 293.3 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.1306, allocations: 113.6 kB / 293.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.1317, allocations: 0.6875 MB / 294.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.1317, allocations: 5.094 kB / 294.1 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.1318, allocations: 46.42 kB / 294.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.1318, allocations: 29.53 kB / 294.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.1325, allocations: 446.1 kB / 294.6 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.1359, allocations: 2.787 MB / 297.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.1368, allocations: 0.671 MB / 298.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.1371, allocations: 242 kB / 298.3 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.1372, allocations: 50.8 kB / 298.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.1376, allocations: 418.9 kB / 298.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/0.1376, allocations: 0 / 298.8 MB, free: 16.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.003866/0.1415, allocations: 2.518 MB / 301.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1415, allocations: 142.4 kB / 301.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1418, allocations: 417.4 kB / 301.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.1418, allocations: 49.92 kB / 301.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.142, allocations: 495.3 kB / 302.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1422, allocations: 449.6 kB / 302.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.1424, allocations: 224.2 kB / 303 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.1425, allocations: 0.5659 MB / 303.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.1427, allocations: 149.8 kB / 303.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.143, allocations: 475.4 kB / 304.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.1436, allocations: 0.6197 MB / 304.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1436, allocations: 4 kB / 304.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00103/0.1446, allocations: 0.9878 MB / 305.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1447, allocations: 6.047 kB / 305.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1447, allocations: 6.688 kB / 305.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006823/0.1454, allocations: 371.4 kB / 306.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.1458, allocations: 207.9 kB / 306.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.1491, allocations: 9.166 MB / 315.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.1494, allocations: 45.03 kB / 315.6 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.1494, allocations: 35.86 kB / 315.7 MB, free: 5.016 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.1497, allocations: 224.1 kB / 315.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1498, allocations: 112.6 kB / 316 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.1507, allocations: 0.9203 MB / 316.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1507, allocations: 12 kB / 316.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1507, allocations: 6.25 kB / 316.9 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.1507, allocations: 7.984 kB / 316.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.1524, allocations: 1.763 MB / 318.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1524, allocations: 7.281 kB / 318.7 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.1527, allocations: 150.6 kB / 318.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006088/0.1534, allocations: 366.8 kB / 319.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.1534, allocations: 31.98 kB / 319.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.1574, allocations: 8.792 MB / 328 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1574, allocations: 7.609 kB / 328 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.1588, allocations: 1.275 MB / 329.3 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.159, allocations: 139.5 kB / 329.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.159, allocations: 24 kB / 329.5 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.1593, allocations: 35.98 kB / 329.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.1594, allocations: 108.4 kB / 329.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.1595, allocations: 35.98 kB / 329.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1596, allocations: 250.3 kB / 329.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1596, allocations: 4 kB / 329.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009145/0.1605, allocations: 315.9 kB / 330.2 MB, free: 6.617 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.1607, allocations: 175.9 kB / 330.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.162, allocations: 1.487 MB / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.162, allocations: 0 / 331.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007933/0.1628, allocations: 1.217 MB / 333.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1631, allocations: 81.31 kB / 333.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1655, allocations: 1.755 MB / 334.9 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1657, allocations: 211.6 kB / 335.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.166, allocations: 102 kB / 335.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.1662, allocations: 170.2 kB / 335.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1662, allocations: 0 / 335.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of Templates: time 0.01652/0.1827, allocations: 12.28 MB / 347.7 MB, free: 5.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0983054051175714]