Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002025/0.002025, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001755/0.001755, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 51.92 kB / 348.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3039, allocations: 49.17 MB / 397.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007715/0.3116, allocations: 6.502 MB / 404.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.317, allocations: 2.632 MB / 406.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.3183, allocations: 19.19 kB / 406.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.3216, allocations: 1.291 MB / 408.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.3242, allocations: 0.5508 MB / 408.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.3268, allocations: 1.25 MB / 409.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.3291, allocations: 1.101 MB / 411 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.3307, allocations: 0.7967 MB / 411.8 MB, free: 144 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3318, allocations: 459 kB / 412.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.3328, allocations: 0.5607 MB / 412.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.333, allocations: 99.12 kB / 412.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3343, allocations: 409 kB / 413.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.3346, allocations: 236.9 kB / 413.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007681/0.3354, allocations: 0.5334 MB / 414 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.3384, allocations: 1.523 MB / 415.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3384, allocations: 4 kB / 415.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3384, allocations: 0 / 415.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.3384, allocations: 0 / 415.6 MB, free: 13.87 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004951/0.3434, allocations: 1.713 MB / 417.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3434, allocations: 8.688 kB / 417.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003941/0.3474, allocations: 0.5818 MB / 417.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3485, allocations: 449.7 kB / 418.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/0.3486, allocations: 89.2 kB / 418.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.3488, allocations: 111.5 kB / 418.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.3509, allocations: 1.013 MB / 419.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.3509, allocations: 5.562 kB / 419.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.351, allocations: 45.25 kB / 419.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.3511, allocations: 28.12 kB / 419.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.3531, allocations: 1.028 MB / 420.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006855/0.36, allocations: 3.579 MB / 424.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.3619, allocations: 0.8769 MB / 425.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008245/0.3628, allocations: 408.2 kB / 425.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3629, allocations: 29.05 kB / 425.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009429/0.3638, allocations: 474.5 kB / 426 MB, free: 6.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 4.177e-06/0.3638, allocations: 0 / 426 MB, free: 6.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009326/0.3731, allocations: 3.684 MB / 429.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.3732, allocations: 145.5 kB / 429.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/0.3738, allocations: 409.9 kB / 430.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.3739, allocations: 49.64 kB / 430.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.3743, allocations: 460.8 kB / 430.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.3747, allocations: 448.1 kB / 431.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.3751, allocations: 218.9 kB / 431.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.3753, allocations: 390.6 kB / 431.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.3761, allocations: 362.5 kB / 432.1 MB, free: 484 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/0.377, allocations: 0.5798 MB / 432.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.3787, allocations: 0.9892 MB / 433.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3787, allocations: 3.938 kB / 433.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00288/0.3816, allocations: 1.414 MB / 435.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.3816, allocations: 8 kB / 435.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3816, allocations: 4 kB / 435.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009629/0.3826, allocations: 351.2 kB / 435.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000936/0.3835, allocations: 219.6 kB / 435.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009432/0.393, allocations: 8.08 MB / 443.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/0.3939, allocations: 48.05 kB / 443.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/0.394, allocations: 48 kB / 443.8 MB, free: 4.098 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0005253/0.3945, allocations: 265.5 kB / 444.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3947, allocations: 75.53 kB / 444.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.3973, allocations: 1.301 MB / 445.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3973, allocations: 16 kB / 445.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.3973, allocations: 11.94 kB / 445.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3974, allocations: 7.969 kB / 445.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004524/0.4019, allocations: 2.498 MB / 448 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4019, allocations: 4 kB / 448 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.4026, allocations: 155.9 kB / 448.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000895/0.4035, allocations: 339.2 kB / 448.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.372e-05/0.4036, allocations: 31.98 kB / 448.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008558/0.4122, allocations: 7.691 MB / 456.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.4122, allocations: 12 kB / 456.2 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.4159, allocations: 1.818 MB / 458 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.4164, allocations: 159.3 kB / 458.2 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4165, allocations: 24 kB / 458.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.417, allocations: 35.98 kB / 458.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.4172, allocations: 108.7 kB / 458.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.4173, allocations: 35.98 kB / 458.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003687/0.4177, allocations: 279.2 kB / 458.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4177, allocations: 0 / 458.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001296/0.419, allocations: 316 kB / 458.9 MB, free: 4.32 MB / 366.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0003267/0.4193, allocations: 183.1 kB / 459.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.4223, allocations: 1.581 MB / 460.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4223, allocations: 4.125 kB / 460.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.4242, allocations: 1.106 MB / 461.8 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.4249, allocations: 77.64 kB / 461.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/0.4293, allocations: 2.052 MB / 463.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.4302, allocations: 1.025 MB / 465 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.4305, allocations: 75.41 kB / 465 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4305, allocations: 0 / 465 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0345/0.465, allocations: 26.87 MB / 491.9 MB, free: 3.082 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.112124592997134]