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.001712/0.001712, allocations: 109.1 kB / 21.18 MB, free: 0.7617 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.002562/0.002562, allocations: 209.7 kB / 24.49 MB, free: 4.148 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.449/1.449, allocations: 230.5 MB / 258.1 MB, free: 8.039 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.00202/0.00202, allocations: 63.89 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2808, allocations: 53.41 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00905/0.2899, allocations: 6.581 MB / 439 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.2951, allocations: 2.655 MB / 441.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.296, allocations: 23.94 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.2995, allocations: 1.279 MB / 443 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.3015, allocations: 0.5318 MB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.3045, allocations: 1.272 MB / 444.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.3064, allocations: 1.079 MB / 445.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.3079, allocations: 0.7947 MB / 446.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008265/0.3088, allocations: 450.4 kB / 447.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.3097, allocations: 0.5485 MB / 447.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.3099, allocations: 99.94 kB / 447.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.3111, allocations: 419.7 kB / 448.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.3114, allocations: 235.1 kB / 448.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008786/0.3123, allocations: 0.5247 MB / 448.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.3149, allocations: 1.525 MB / 450.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3149, allocations: 0 / 450.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3149, allocations: 0 / 450.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.363e-05/0.315, allocations: 0 / 450.4 MB, free: 4.723 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.005174/0.3201, allocations: 1.703 MB / 452.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3202, allocations: 12.03 kB / 452.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/0.3234, allocations: 475.8 kB / 452.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.3244, allocations: 445.2 kB / 453 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.392e-05/0.3245, allocations: 82.22 kB / 453.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.3247, allocations: 115.9 kB / 453.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.3268, allocations: 0.9745 MB / 454.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.3268, allocations: 0 / 454.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/0.3269, allocations: 48 kB / 454.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3269, allocations: 28 kB / 454.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.3289, allocations: 0.9575 MB / 455.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006673/0.3356, allocations: 3.5 MB / 458.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3373, allocations: 0.828 MB / 459.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.3382, allocations: 396.3 kB / 460 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3383, allocations: 36.95 kB / 460 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008711/0.3391, allocations: 466.5 kB / 460.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.434e-06/0.3391, allocations: 0 / 460.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009245/0.3484, allocations: 3.711 MB / 464.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.3485, allocations: 141.5 kB / 464.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.3491, allocations: 409.5 kB / 464.7 MB, free: 6.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.3491, allocations: 45.7 kB / 464.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.3495, allocations: 440.9 kB / 465.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.3499, allocations: 440.1 kB / 465.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.3502, allocations: 206.9 kB / 465.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3504, allocations: 378.8 kB / 466.2 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.3511, allocations: 350.5 kB / 466.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008904/0.352, allocations: 0.539 MB / 467.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.3536, allocations: 0.9303 MB / 468 MB, free: 2.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3536, allocations: 3.938 kB / 468 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002777/0.3564, allocations: 1.367 MB / 469.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3565, allocations: 14.48 kB / 469.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.3565, allocations: 4 kB / 469.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009425/0.3574, allocations: 351.1 kB / 469.7 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.3583, allocations: 211.7 kB / 469.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009139/0.3675, allocations: 8.053 MB / 478 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/0.3683, allocations: 43.98 kB / 478 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.3684, allocations: 52.05 kB / 478.1 MB, free: 8.062 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.0005447/0.369, allocations: 257.6 kB / 478.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.3691, allocations: 75.53 kB / 478.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.372, allocations: 1.289 MB / 479.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.372, allocations: 12 kB / 479.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/0.372, allocations: 8 kB / 479.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.372, allocations: 3.984 kB / 479.7 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.3769, allocations: 2.486 MB / 482.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3769, allocations: 0 / 482.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.3776, allocations: 155.9 kB / 482.3 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/0.3785, allocations: 339.2 kB / 482.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.3786, allocations: 28 kB / 482.7 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008453/0.387, allocations: 7.702 MB / 490.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.387, allocations: 4 kB / 490.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.3907, allocations: 1.798 MB / 492.2 MB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.3911, allocations: 151.5 kB / 492.4 MB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.3912, allocations: 31.94 kB / 492.4 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.3918, allocations: 39.92 kB / 492.4 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.392, allocations: 108.7 kB / 492.5 MB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.3921, allocations: 35.98 kB / 492.6 MB, free: 8.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003653/0.3924, allocations: 275.2 kB / 492.8 MB, free: 8.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3924, allocations: 0 / 492.8 MB, free: 8.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3938, allocations: 323.9 kB / 493.2 MB, free: 8.359 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.0003499/0.3941, allocations: 179.1 kB / 493.3 MB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002976/0.3971, allocations: 1.552 MB / 494.9 MB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3971, allocations: 0 / 494.9 MB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.399, allocations: 1.107 MB / 496 MB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.3996, allocations: 85.52 kB / 496.1 MB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.4037, allocations: 1.971 MB / 498 MB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.4045, allocations: 1.032 MB / 499.1 MB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.4047, allocations: 71.41 kB / 499.1 MB, free: 2.184 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4047, allocations: 0 / 499.1 MB, free: 2.184 MB / 398.1 MB Notification: Performance of Templates: time 0.03491/0.4396, allocations: 27.04 MB / 0.5139 GB, free: 7.078 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/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: 8.949400254059583]