Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001529/0.001529, allocations: 119.3 kB / 21.17 MB, free: 0.7734 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.001684/0.001684, allocations: 215.5 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 75.81 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3123, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009576/0.3219, allocations: 6.578 MB / 438.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.3273, allocations: 2.651 MB / 441.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007922/0.3281, allocations: 27.88 kB / 441.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.3316, allocations: 1.279 MB / 442.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.3334, allocations: 0.5345 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.3361, allocations: 1.264 MB / 444.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.3377, allocations: 1.075 MB / 445.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.339, allocations: 0.6977 MB / 446.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006818/0.3397, allocations: 458.3 kB / 446.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007788/0.3404, allocations: 0.5407 MB / 447.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.3406, allocations: 100 kB / 447.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.3416, allocations: 419.6 kB / 447.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.3418, allocations: 227.2 kB / 447.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.3423, allocations: 0.5247 MB / 448.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.3445, allocations: 1.529 MB / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3445, allocations: 0 / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3445, allocations: 0 / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.3445, allocations: 4 kB / 449.9 MB, free: 5.434 MB / 350.1 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.004725/0.3492, allocations: 1.768 MB / 451.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3493, allocations: 12.03 kB / 451.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.3526, allocations: 471.8 kB / 452.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/0.3534, allocations: 0.5023 MB / 452.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.3534, allocations: 82.22 kB / 452.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.3537, allocations: 116 kB / 452.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.3556, allocations: 0.9744 MB / 453.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.3556, allocations: 3.984 kB / 453.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3557, allocations: 48 kB / 453.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.3558, allocations: 24 kB / 453.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.3577, allocations: 0.9574 MB / 454.9 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006577/0.3642, allocations: 3.773 MB / 458.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.3664, allocations: 1.502 MB / 460.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008133/0.3672, allocations: 388.3 kB / 460.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.3674, allocations: 187.2 kB / 460.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.3683, allocations: 474.5 kB / 461.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.558e-06/0.3683, allocations: 3.984 kB / 461.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009426/0.3777, allocations: 4.004 MB / 465.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.3778, allocations: 145.5 kB / 465.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.3783, allocations: 401.6 kB / 465.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.3784, allocations: 49.7 kB / 465.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.3787, allocations: 444.9 kB / 466.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.3791, allocations: 448.1 kB / 466.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.3794, allocations: 206.9 kB / 466.8 MB, free: 3.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3796, allocations: 378.8 kB / 467.2 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.3803, allocations: 350.4 kB / 467.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009042/0.3812, allocations: 0.5351 MB / 468.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.383, allocations: 0.9309 MB / 469 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.383, allocations: 8 kB / 469 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002774/0.3857, allocations: 1.371 MB / 470.4 MB, free: 52 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3858, allocations: 6.656 kB / 470.4 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3858, allocations: 8 kB / 470.4 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/0.3867, allocations: 345.8 kB / 470.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.3875, allocations: 207.7 kB / 470.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009028/0.3966, allocations: 8.475 MB / 479.4 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/0.3974, allocations: 48.05 kB / 479.5 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.3974, allocations: 40 kB / 479.5 MB, free: 6.375 MB / 382.1 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.0004865/0.3979, allocations: 265.5 kB / 479.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3981, allocations: 75.53 kB / 479.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.4008, allocations: 1.282 MB / 481.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4008, allocations: 12 kB / 481.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4008, allocations: 8 kB / 481.1 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.4008, allocations: 11.91 kB / 481.1 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.4052, allocations: 2.522 MB / 483.7 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.4052, allocations: 4 kB / 483.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.406, allocations: 147.8 kB / 483.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008171/0.4068, allocations: 337.2 kB / 484.1 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.4068, allocations: 31.98 kB / 484.2 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008434/0.4153, allocations: 8.109 MB / 492.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4153, allocations: 0 / 492.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.4187, allocations: 1.817 MB / 494.1 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.4191, allocations: 224.6 kB / 494.3 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4192, allocations: 27.94 kB / 494.4 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.4197, allocations: 35.98 kB / 494.4 MB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.4199, allocations: 100.7 kB / 494.5 MB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.4199, allocations: 39.98 kB / 494.5 MB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.4203, allocations: 279.2 kB / 494.8 MB, free: 6.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4203, allocations: 0 / 494.8 MB, free: 6.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001169/0.4215, allocations: 319.9 kB / 495.1 MB, free: 6.027 MB / 398.1 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.000324/0.4218, allocations: 179.2 kB / 495.3 MB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.4246, allocations: 1.545 MB / 496.8 MB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4246, allocations: 0 / 496.8 MB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.4265, allocations: 1.108 MB / 497.9 MB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.4271, allocations: 81.48 kB / 498 MB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.4311, allocations: 1.968 MB / 500 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.4318, allocations: 1.021 MB / 0.4893 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.4321, allocations: 79.33 kB / 0.4893 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4321, allocations: 0 / 0.4893 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.03427/0.4664, allocations: 27.06 MB / 0.5158 GB, free: 4.746 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.500140389893204]