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.001335/0.001335, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001479/0.001479, allocations: 160.3 kB / 24.91 MB, free: 8.766 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.8988/0.8988, allocations: 177 MB / 205.2 MB, free: 5.043 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.133e-06/1.133e-06, allocations: 0 / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.725e-05, allocations: 10.25 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005203/0.005221, allocations: 6.291 MB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.008362, allocations: 2.615 MB / 282.3 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.008651, allocations: 23.94 kB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.0102, allocations: 1.353 MB / 283.7 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.01121, allocations: 0.5509 MB / 284.2 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.01265, allocations: 1.218 MB / 285.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009344/0.01359, allocations: 1.109 MB / 286.5 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/0.01441, allocations: 0.8246 MB / 287.4 MB, free: 3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.01499, allocations: 0.6626 MB / 288 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.01539, allocations: 426.8 kB / 288.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.888e-05/0.01548, allocations: 96 kB / 288.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.01616, allocations: 403.3 kB / 288.9 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01629, allocations: 235.1 kB / 289.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.01652, allocations: 359.1 kB / 289.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.09765/0.1142, allocations: 1.094 MB / 290.6 MB, free: 17.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1142, allocations: 0 / 290.6 MB, free: 17.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1142, allocations: 0 / 290.6 MB, free: 17.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.1142, allocations: 0 / 290.6 MB, free: 17.86 MB / 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.003292/0.1175, allocations: 1.632 MB / 292.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1175, allocations: 9.906 kB / 292.2 MB, free: 17.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.1201, allocations: 0.6682 MB / 292.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.1207, allocations: 316.4 kB / 293.2 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.1208, allocations: 85.34 kB / 293.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.1209, allocations: 116.5 kB / 293.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.122, allocations: 0.7029 MB / 294.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.1221, allocations: 6.234 kB / 294.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.1221, allocations: 43.25 kB / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.1222, allocations: 27.28 kB / 294.2 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.1229, allocations: 371.3 kB / 294.6 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.1268, allocations: 2.314 MB / 296.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/0.1278, allocations: 0.5967 MB / 297.5 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.1282, allocations: 218.2 kB / 297.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.639e-05/0.1283, allocations: 39.48 kB / 297.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.1287, allocations: 395.5 kB / 298.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 4.238e-06/0.1287, allocations: 0 / 298.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.00457/0.1333, allocations: 2.186 MB / 300.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1334, allocations: 144.2 kB / 300.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1336, allocations: 345.1 kB / 300.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.1337, allocations: 43.58 kB / 300.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1338, allocations: 413.6 kB / 301.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.134, allocations: 364.3 kB / 301.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.1342, allocations: 180.9 kB / 301.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.1342, allocations: 375.7 kB / 302.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.1344, allocations: 109.7 kB / 302.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1347, allocations: 363.3 kB / 302.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.1352, allocations: 0.5016 MB / 303.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1352, allocations: 1.062 kB / 303.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008454/0.136, allocations: 0.6359 MB / 303.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1361, allocations: 11.59 kB / 303.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1361, allocations: 6.688 kB / 303.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.1366, allocations: 210.9 kB / 303.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.1371, allocations: 191.7 kB / 304.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.1393, allocations: 4.491 MB / 308.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.1396, allocations: 37.44 kB / 308.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.1396, allocations: 33.58 kB / 308.7 MB, free: 10.02 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.1398, allocations: 168.4 kB / 308.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.1399, allocations: 76.52 kB / 308.9 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007806/0.1407, allocations: 0.5896 MB / 309.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1407, allocations: 9.938 kB / 309.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1407, allocations: 2.969 kB / 309.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.1407, allocations: 18.25 kB / 309.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.1422, allocations: 1.081 MB / 310.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1422, allocations: 3.438 kB / 310.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.1425, allocations: 138.9 kB / 310.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.143, allocations: 218.6 kB / 311 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.143, allocations: 17.97 kB / 311 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.145, allocations: 4.484 MB / 315.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.145, allocations: 0 / 315.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.1459, allocations: 0.8243 MB / 316.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.146, allocations: 75.59 kB / 316.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.1461, allocations: 16 kB / 316.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1463, allocations: 35.98 kB / 316.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1465, allocations: 80.06 kB / 316.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1465, allocations: 23.98 kB / 316.5 MB, free: 4.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.945e-05/0.1466, allocations: 128 kB / 316.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1466, allocations: 4 kB / 316.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008123/0.1474, allocations: 272 kB / 316.9 MB, free: 3.707 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/0.1476, allocations: 157.1 kB / 317.1 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008384/0.1484, allocations: 0.91 MB / 318 MB, free: 2.645 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.1485, allocations: 12.06 kB / 318 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.149, allocations: 0.717 MB / 318.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1493, allocations: 74.34 kB / 318.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.1514, allocations: 1.561 MB / 320.4 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.1515, allocations: 190.3 kB / 320.5 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.1519, allocations: 101.2 kB / 320.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.1521, allocations: 139.3 kB / 320.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1521, allocations: 0 / 320.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of Templates: time 0.01227/0.1643, allocations: 9.716 MB / 330.5 MB, free: 6.281 MB / 282.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: 2.898791533894837]