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.001829/0.001829, allocations: 116.9 kB / 19.17 MB, free: 3.91 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.00215/0.00215, allocations: 210.5 kB / 22.13 MB, free: 0.9609 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.406/1.406, allocations: 230.4 MB / 255.4 MB, free: 9.074 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.001895/0.001895, allocations: 67.84 kB / 374.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2458, allocations: 53.31 MB / 428.1 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008744/0.2545, allocations: 6.526 MB / 434.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.2595, allocations: 2.647 MB / 437.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006541/0.2601, allocations: 23.94 kB / 437.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.2633, allocations: 1.28 MB / 438.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.2649, allocations: 0.5396 MB / 439.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.2675, allocations: 1.263 MB / 440.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.269, allocations: 1.071 MB / 441.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.2701, allocations: 0.7013 MB / 442.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.2707, allocations: 454.3 kB / 442.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.2714, allocations: 0.5485 MB / 443.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.2716, allocations: 96 kB / 443.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009737/0.2726, allocations: 415.6 kB / 443.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.2728, allocations: 239.1 kB / 443.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.2733, allocations: 0.517 MB / 444.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.2752, allocations: 1.525 MB / 445.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2752, allocations: 0 / 445.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2752, allocations: 0 / 445.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.2752, allocations: 7.938 kB / 445.9 MB, free: 6.172 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.004345/0.2796, allocations: 1.677 MB / 447.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2796, allocations: 12.03 kB / 447.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.2828, allocations: 471.8 kB / 448 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.2836, allocations: 0.4984 MB / 448.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.2837, allocations: 82.22 kB / 448.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.2838, allocations: 116 kB / 448.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.2857, allocations: 0.9744 MB / 449.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.2858, allocations: 4 kB / 449.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2859, allocations: 44 kB / 449.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.2859, allocations: 28 kB / 449.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.2878, allocations: 0.9574 MB / 450.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.294, allocations: 3.769 MB / 454.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.2962, allocations: 1.49 MB / 456 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.297, allocations: 392.3 kB / 456.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.2972, allocations: 187.2 kB / 456.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/0.2981, allocations: 470.5 kB / 457 MB, free: 10.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.464e-06/0.2981, allocations: 0 / 457 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009633/0.3077, allocations: 4 MB / 461 MB, free: 6.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.3078, allocations: 141.5 kB / 461.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.3084, allocations: 413.4 kB / 461.6 MB, free: 5.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.3084, allocations: 49.7 kB / 461.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.3088, allocations: 440.9 kB / 462 MB, free: 5.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.3092, allocations: 440.1 kB / 462.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.3095, allocations: 206.9 kB / 462.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3097, allocations: 382.8 kB / 463 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.3104, allocations: 350.5 kB / 463.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/0.3114, allocations: 0.5429 MB / 463.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.3131, allocations: 0.9342 MB / 464.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3131, allocations: 4 kB / 464.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002835/0.3159, allocations: 1.39 MB / 466.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.316, allocations: 8 kB / 466.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.316, allocations: 8 kB / 466.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/0.317, allocations: 347.2 kB / 466.6 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.3178, allocations: 207.7 kB / 466.8 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009125/0.3269, allocations: 8.483 MB / 475.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.3278, allocations: 43.92 kB / 475.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.287e-05/0.3279, allocations: 56.05 kB / 475.4 MB, free: 7.176 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.0004994/0.3284, allocations: 253.6 kB / 475.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3286, allocations: 75.53 kB / 475.7 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.3313, allocations: 1.289 MB / 477 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3313, allocations: 15.98 kB / 477 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3313, allocations: 8 kB / 477 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.3313, allocations: 3.984 kB / 477 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/0.3359, allocations: 2.518 MB / 479.5 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3359, allocations: 3.984 kB / 479.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.3366, allocations: 156 kB / 479.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008618/0.3374, allocations: 336.4 kB / 480 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.3375, allocations: 24.12 kB / 480.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008397/0.3459, allocations: 8.113 MB / 488.2 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.3459, allocations: 4.031 kB / 488.2 MB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.3494, allocations: 1.813 MB / 490 MB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.3498, allocations: 228.6 kB / 490.2 MB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.3499, allocations: 28 kB / 490.2 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.3504, allocations: 35.98 kB / 490.3 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.3506, allocations: 100.7 kB / 490.4 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.3507, allocations: 32 kB / 490.4 MB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.3511, allocations: 283.1 kB / 490.7 MB, free: 7.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3511, allocations: 4 kB / 490.7 MB, free: 7.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001213/0.3523, allocations: 315.9 kB / 491 MB, free: 6.836 MB / 398.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_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.0003284/0.3526, allocations: 175.2 kB / 491.2 MB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.3554, allocations: 1.557 MB / 492.7 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3554, allocations: 0 / 492.7 MB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.3572, allocations: 1.1 MB / 493.8 MB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.3578, allocations: 84.05 kB / 493.9 MB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.3615, allocations: 1.989 MB / 495.9 MB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.3623, allocations: 1.024 MB / 496.9 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.3625, allocations: 71.41 kB / 497 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3625, allocations: 0 / 497 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of Templates: time 0.03192/0.3944, allocations: 27.06 MB / 0.5118 GB, free: 5.531 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.50272601400502]