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.001237/0.001237, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001351/0.001351, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.396/1.396, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.001953/0.001953, allocations: 63.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2104, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008662/0.2191, allocations: 6.57 MB / 438.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004582/0.2237, allocations: 2.655 MB / 441.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005727/0.2243, allocations: 23.94 kB / 441.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.2273, allocations: 1.278 MB / 442.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.2287, allocations: 0.534 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.2312, allocations: 1.268 MB / 444.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.2325, allocations: 1.079 MB / 445.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2337, allocations: 0.6981 MB / 446.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.2342, allocations: 450.3 kB / 446.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.235, allocations: 0.5446 MB / 447.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2352, allocations: 96 kB / 447.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.2359, allocations: 423.6 kB / 447.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.2361, allocations: 227.2 kB / 447.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005327/0.2367, allocations: 0.5247 MB / 448.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.2385, allocations: 1.529 MB / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2385, allocations: 0 / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2385, allocations: 0 / 449.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.2385, allocations: 0 / 449.9 MB, free: 5.438 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.004599/0.2431, allocations: 1.775 MB / 451.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2431, allocations: 8.031 kB / 451.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.2465, allocations: 471.8 kB / 452.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.2472, allocations: 0.5061 MB / 452.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.2473, allocations: 82.22 kB / 452.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.2475, allocations: 116 kB / 452.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.2494, allocations: 0.9706 MB / 453.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.2494, allocations: 0 / 453.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.2495, allocations: 44 kB / 453.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.2495, allocations: 28 kB / 453.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.2515, allocations: 0.9613 MB / 454.9 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/0.2576, allocations: 3.773 MB / 458.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.2597, allocations: 1.494 MB / 460.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/0.2605, allocations: 391.4 kB / 460.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.2607, allocations: 187.2 kB / 460.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008875/0.2616, allocations: 474.5 kB / 461.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.365e-06/0.2616, allocations: 0 / 461.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.00952/0.2711, allocations: 4.008 MB / 465.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.2712, allocations: 141.5 kB / 465.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.2717, allocations: 409.5 kB / 465.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.2718, allocations: 49.7 kB / 465.8 MB, free: 4.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.2721, allocations: 444.9 kB / 466.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.2724, allocations: 444.1 kB / 466.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003195/0.2727, allocations: 202.9 kB / 466.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.2729, allocations: 382.8 kB / 467.2 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.2737, allocations: 342.5 kB / 467.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009286/0.2746, allocations: 0.5429 MB / 468.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.2763, allocations: 0.9309 MB / 469 MB, free: 1.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2764, allocations: 0 / 469 MB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002761/0.2791, allocations: 1.363 MB / 470.4 MB, free: 76 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2791, allocations: 15.92 kB / 470.4 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2791, allocations: 4 kB / 470.4 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009198/0.2801, allocations: 355.2 kB / 470.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.281, allocations: 203.7 kB / 470.9 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008789/0.2898, allocations: 8.485 MB / 479.4 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.2904, allocations: 39.98 kB / 479.5 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.2905, allocations: 47.98 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.0003829/0.2909, allocations: 261.6 kB / 479.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.291, allocations: 75.53 kB / 479.8 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.2937, allocations: 1.282 MB / 481.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.2937, allocations: 11.97 kB / 481.1 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2937, allocations: 4 kB / 481.1 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.294, allocations: 228.5 kB / 481.4 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.2941, allocations: 20 kB / 481.4 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.2946, allocations: 35.98 kB / 481.4 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2948, allocations: 108.8 kB / 481.5 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003491/0.2983, allocations: 1.478 MB / 483 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002728/0.301, allocations: 1.621 MB / 484.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000718/0.3017, allocations: 367.8 kB / 485 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003201/0.302, allocations: 279.1 kB / 485.3 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.302, allocations: 0 / 485.3 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002829/0.3049, allocations: 1.492 MB / 486.7 MB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 0.002907/0.3078, allocations: 2.415 MB / 489.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of Templates: time 0.026/0.3338, allocations: 15.91 MB / 0.4932 GB, free: 12.63 MB / 414.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: 4.890644431114197]