Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 208.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 47.92 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2475, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008088/0.2556, allocations: 5.834 MB / 437.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.2599, allocations: 2.461 MB / 439.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.2602, allocations: 23.94 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.2631, allocations: 1.186 MB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.2647, allocations: 0.5308 MB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.2672, allocations: 1.19 MB / 442.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.2685, allocations: 1.075 MB / 443.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.2696, allocations: 0.7712 MB / 444.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.2702, allocations: 462.3 kB / 445.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.2709, allocations: 489.6 kB / 445.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.271, allocations: 96 kB / 445.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.2719, allocations: 403.7 kB / 446.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.2721, allocations: 231.1 kB / 446.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.2725, allocations: 437.9 kB / 446.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2747, allocations: 1.529 MB / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2747, allocations: 0 / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2747, allocations: 0 / 448.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.2747, allocations: 0 / 448.3 MB, free: 5.992 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.0045/0.2792, allocations: 1.704 MB / 450 MB, free: 4.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2792, allocations: 12.03 kB / 450 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.2823, allocations: 471.8 kB / 450.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.2831, allocations: 445.2 kB / 450.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.2832, allocations: 86.22 kB / 451 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.2834, allocations: 115.9 kB / 451.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.2853, allocations: 1.025 MB / 452.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.2853, allocations: 0 / 452.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/0.2854, allocations: 47.94 kB / 452.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.2855, allocations: 28 kB / 452.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.2874, allocations: 0.9496 MB / 453.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.2931, allocations: 2.945 MB / 456.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.2948, allocations: 0.8095 MB / 456.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.2956, allocations: 392.3 kB / 457.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.2957, allocations: 28.98 kB / 457.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009201/0.2966, allocations: 0.5135 MB / 457.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.936e-06/0.2966, allocations: 0 / 457.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0095/0.3061, allocations: 3.703 MB / 461.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.3062, allocations: 145.5 kB / 461.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.3067, allocations: 385.5 kB / 462 MB, free: 7.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/0.3068, allocations: 49.7 kB / 462.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.3072, allocations: 437 kB / 462.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.3075, allocations: 448.1 kB / 462.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.3078, allocations: 206.9 kB / 463.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.308, allocations: 370.8 kB / 463.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.3088, allocations: 350.5 kB / 463.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/0.3097, allocations: 0.5874 MB / 464.4 MB, free: 5.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3115, allocations: 0.9304 MB / 465.4 MB, free: 4.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.3115, allocations: 8 kB / 465.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002732/0.3142, allocations: 1.359 MB / 466.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3142, allocations: 7.938 kB / 466.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3142, allocations: 4 kB / 466.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000949/0.3152, allocations: 357.8 kB / 467.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.3161, allocations: 203.7 kB / 467.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008862/0.3249, allocations: 7.894 MB / 475.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.3256, allocations: 47.94 kB / 475.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.3257, allocations: 43.94 kB / 475.3 MB, free: 10.03 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.0004623/0.3262, allocations: 265.6 kB / 475.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3263, allocations: 67.58 kB / 475.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.329, allocations: 1.281 MB / 476.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.329, allocations: 16 kB / 476.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3291, allocations: 4 kB / 476.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.3291, allocations: 7.984 kB / 476.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.3332, allocations: 2.205 MB / 479.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3332, allocations: 4 kB / 479.1 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/0.3339, allocations: 159.7 kB / 479.3 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008095/0.3347, allocations: 323.5 kB / 479.6 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.3348, allocations: 31.98 kB / 479.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007786/0.3426, allocations: 7.543 MB / 487.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3426, allocations: 4 kB / 487.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.3459, allocations: 1.802 MB / 489 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.3462, allocations: 147.5 kB / 489.1 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.3463, allocations: 24 kB / 489.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.3468, allocations: 39.98 kB / 489.2 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.347, allocations: 108.7 kB / 489.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.347, allocations: 35.98 kB / 489.3 MB, free: 11.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002913/0.3473, allocations: 255.2 kB / 489.6 MB, free: 11.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3473, allocations: 0 / 489.6 MB, free: 11.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001143/0.3485, allocations: 312 kB / 489.9 MB, free: 10.87 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.0003147/0.3488, allocations: 179 kB / 490 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.3515, allocations: 1.545 MB / 491.6 MB, free: 9.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3515, allocations: 4 kB / 491.6 MB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.3532, allocations: 1.107 MB / 492.7 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.3537, allocations: 69.5 kB / 492.8 MB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.3574, allocations: 1.94 MB / 494.7 MB, free: 5.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.3578, allocations: 436 kB / 495.1 MB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003895/0.3582, allocations: 102 kB / 495.2 MB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3584, allocations: 55.42 kB / 495.3 MB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3584, allocations: 0 / 495.3 MB, free: 5.262 MB / 398.1 MB Notification: Performance of Templates: time 0.02271/0.3811, allocations: 12.26 MB / 0.4956 GB, free: 9.078 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.073010638356209]