Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008563, allocations: 93.25 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009609/0.0009611, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005046/0.0005046, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1086, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007505/0.1161, allocations: 5.93 MB / 334.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005717/0.1219, allocations: 2.477 MB / 337.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.123, allocations: 20 kB / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.1245, allocations: 346.4 kB / 337.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.1272, allocations: 0.6337 MB / 338.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.1294, allocations: 1.048 MB / 339.4 MB, free: 9.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1308, allocations: 1.036 MB / 340.4 MB, free: 8.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.133, allocations: 1.318 MB / 341.8 MB, free: 6.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.1335, allocations: 394.2 kB / 342.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.1341, allocations: 493.7 kB / 342.6 MB, free: 5.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.1342, allocations: 48 kB / 342.7 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.135, allocations: 355.6 kB / 343 MB, free: 5.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1352, allocations: 179.2 kB / 343.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.1356, allocations: 0.4912 MB / 343.7 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1369, allocations: 1.436 MB / 345.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1369, allocations: 0 / 345.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1369, allocations: 0 / 345.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1369, allocations: 0 / 345.1 MB, free: 3.473 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003905/0.1408, allocations: 1.461 MB / 346.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1409, allocations: 8.031 kB / 346.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.1448, allocations: 0.585 MB / 347.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.1455, allocations: 0.4902 MB / 347.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.1455, allocations: 90.23 kB / 347.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.1457, allocations: 119.8 kB / 347.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.1476, allocations: 1.019 MB / 348.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.1476, allocations: 0 / 348.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.1478, allocations: 51.98 kB / 348.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.1478, allocations: 28 kB / 349 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.1498, allocations: 1.04 MB / 350 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00606/0.1558, allocations: 3.885 MB / 353.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.1581, allocations: 2.064 MB / 356 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.1589, allocations: 439.5 kB / 356.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.1591, allocations: 106.2 kB / 356.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009005/0.16, allocations: 494.3 kB / 357 MB, free: 6.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 3.757e-06/0.16, allocations: 0 / 357 MB, free: 6.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.009281/0.1693, allocations: 4.061 MB / 361 MB, free: 2.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.1694, allocations: 145.5 kB / 361.2 MB, free: 2.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.17, allocations: 413.7 kB / 361.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.17, allocations: 53.7 kB / 361.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.1704, allocations: 435.5 kB / 362.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.1707, allocations: 433.7 kB / 362.5 MB, free: 1.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1709, allocations: 101.7 kB / 362.6 MB, free: 1.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1711, allocations: 390.7 kB / 363 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/0.1718, allocations: 362.5 kB / 363.3 MB, free: 416 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009311/0.1727, allocations: 0.5877 MB / 363.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.1745, allocations: 1.009 MB / 364.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.1745, allocations: 4 kB / 364.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002589/0.1771, allocations: 1.433 MB / 366.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.1771, allocations: 11.94 kB / 366.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1771, allocations: 7.984 kB / 366.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/0.178, allocations: 351.1 kB / 366.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.1789, allocations: 215.7 kB / 366.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007744/0.1866, allocations: 7.754 MB / 374.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.1877, allocations: 47.98 kB / 374.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.1877, allocations: 55.92 kB / 374.8 MB, free: 4.219 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.000553/0.1883, allocations: 265.6 kB / 375 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1884, allocations: 75.09 kB / 375.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.1911, allocations: 1.333 MB / 376.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.1911, allocations: 12 kB / 376.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.1911, allocations: 16 kB / 376.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.1911, allocations: 15.97 kB / 376.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2199/0.4111, allocations: 2.564 MB / 379 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.4112, allocations: 2.625 kB / 379.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.4121, allocations: 157.4 kB / 379.2 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.4132, allocations: 325.9 kB / 379.5 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.4133, allocations: 29.39 kB / 379.6 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006967/0.4203, allocations: 7.447 MB / 387 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4203, allocations: 1.219 kB / 387 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.4242, allocations: 1.849 MB / 388.8 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/0.4246, allocations: 223.2 kB / 389.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.066e-05/0.4247, allocations: 23.61 kB / 389.1 MB, free: 44.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.4252, allocations: 42.02 kB / 389.1 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.4255, allocations: 96.39 kB / 389.2 MB, free: 44.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.4256, allocations: 39.3 kB / 389.3 MB, free: 44.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.426, allocations: 278.5 kB / 389.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.426, allocations: 1.5 kB / 389.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001521/0.4275, allocations: 316.3 kB / 389.8 MB, free: 44.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.000326/0.4279, allocations: 178.5 kB / 390 MB, free: 43.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.4306, allocations: 1.653 MB / 391.7 MB, free: 43.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4307, allocations: 1.281 kB / 391.7 MB, free: 43.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.4327, allocations: 1.15 MB / 392.8 MB, free: 42.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.4334, allocations: 78.94 kB / 392.9 MB, free: 42.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.4378, allocations: 2.545 MB / 395.4 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.4385, allocations: 1.029 MB / 396.5 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005211/0.439, allocations: 106.2 kB / 396.6 MB, free: 40.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.4392, allocations: 58.44 kB / 396.6 MB, free: 40.02 MB / 318.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4392, allocations: 0 / 396.6 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01924/0.4584, allocations: 10.42 MB / 407.1 MB, free: 35.67 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches