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.00153/0.00153, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001669/0.001669, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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.474/1.474, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001931/0.001931, allocations: 59.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 53.32 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2116/0.3161, allocations: 6.533 MB / 433.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.3199, allocations: 2.643 MB / 436.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.3203, allocations: 19.09 kB / 436.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.3227, allocations: 1.291 MB / 437.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.324, allocations: 0.5359 MB / 438.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3262, allocations: 1.265 MB / 439.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3275, allocations: 1.076 MB / 440.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.3287, allocations: 0.6966 MB / 441.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.3294, allocations: 447.3 kB / 441.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.3302, allocations: 0.5502 MB / 442.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3303, allocations: 96.94 kB / 442.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009104/0.3312, allocations: 414.3 kB / 442.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.3314, allocations: 232.8 kB / 442.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.3318, allocations: 0.5267 MB / 443.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.3337, allocations: 1.525 MB / 445 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3337, allocations: 0 / 445 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3337, allocations: 0 / 445 MB, free: 3.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.3338, allocations: 0 / 445 MB, free: 3.129 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.00424/0.338, allocations: 1.677 MB / 446.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.338, allocations: 13.69 kB / 446.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.3413, allocations: 473.3 kB / 447.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.342, allocations: 0.503 MB / 447.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.3421, allocations: 82.91 kB / 447.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.3422, allocations: 108.8 kB / 447.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.344, allocations: 0.9733 MB / 448.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.344, allocations: 9.547 kB / 448.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.3441, allocations: 44.72 kB / 448.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.3442, allocations: 27 kB / 448.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.346, allocations: 0.9569 MB / 449.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006466/0.3525, allocations: 3.773 MB / 453.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.3546, allocations: 1.483 MB / 455.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007833/0.3554, allocations: 394.4 kB / 455.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.3556, allocations: 184.5 kB / 455.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008857/0.3565, allocations: 474.9 kB / 456.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.575e-06/0.3565, allocations: 4 kB / 456.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009942/0.3665, allocations: 3.996 MB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3666, allocations: 150.9 kB / 460.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.3671, allocations: 401.4 kB / 460.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.3672, allocations: 46.8 kB / 460.7 MB, free: 10 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.3676, allocations: 441.1 kB / 461.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/0.368, allocations: 445.6 kB / 461.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.3684, allocations: 208.8 kB / 461.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.3686, allocations: 374.3 kB / 462.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/0.3694, allocations: 358 kB / 462.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.3704, allocations: 0.5525 MB / 463 MB, free: 8.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.3722, allocations: 0.9354 MB / 464 MB, free: 7.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3722, allocations: 1.406 kB / 464 MB, free: 7.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002953/0.3751, allocations: 1.377 MB / 465.3 MB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3752, allocations: 10.25 kB / 465.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3752, allocations: 5.562 kB / 465.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.3763, allocations: 349.1 kB / 465.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/0.3771, allocations: 208.3 kB / 465.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0094/0.3865, allocations: 8.48 MB / 474.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009026/0.3874, allocations: 43.2 kB / 474.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.3876, allocations: 45.38 kB / 474.5 MB, free: 14.89 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.0006086/0.3882, allocations: 266.8 kB / 474.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.3884, allocations: 76.38 kB / 474.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.3913, allocations: 1.29 MB / 476.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3913, allocations: 13.75 kB / 476.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.3913, allocations: 6.875 kB / 476.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.3914, allocations: 7.922 kB / 476.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.3963, allocations: 2.521 MB / 478.6 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3963, allocations: 0 / 478.6 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.3971, allocations: 155.9 kB / 478.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.3979, allocations: 329.5 kB / 479.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/0.398, allocations: 31.98 kB / 479.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008947/0.407, allocations: 8.123 MB / 487.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.407, allocations: 4 kB / 487.3 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/0.4107, allocations: 1.806 MB / 489.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.4112, allocations: 228.5 kB / 489.3 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4113, allocations: 28 kB / 489.3 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.4119, allocations: 39.98 kB / 489.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/0.4122, allocations: 96.8 kB / 489.5 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.4122, allocations: 35.98 kB / 489.5 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003784/0.4126, allocations: 275.2 kB / 489.8 MB, free: 264 kB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4126, allocations: 3.938 kB / 489.8 MB, free: 260 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001515/0.4141, allocations: 327.9 kB / 490.1 MB, free: 15.93 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.0003761/0.4145, allocations: 174.9 kB / 490.3 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.4177, allocations: 1.553 MB / 491.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4177, allocations: 0 / 491.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.4196, allocations: 1.096 MB / 492.9 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.4202, allocations: 77.48 kB / 493 MB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.4246, allocations: 1.949 MB / 494.9 MB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.4254, allocations: 1.024 MB / 496 MB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.4259, allocations: 102.2 kB / 496.1 MB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.4261, allocations: 59.42 kB / 496.1 MB, free: 9.719 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4261, allocations: 0 / 496.1 MB, free: 9.719 MB / 398.1 MB Notification: Performance of Templates: time 0.03307/0.4592, allocations: 11.54 MB / 0.4958 GB, free: 14.19 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.194118933752179]