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.001378/0.001378, allocations: 107.6 kB / 21.18 MB, free: 452 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.001655/0.001655, allocations: 215 kB / 24.47 MB, free: 3.777 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.514/1.514, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.002579/0.002579, allocations: 58.58 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3289, allocations: 49.15 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007979/0.3369, allocations: 5.774 MB / 402.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.3418, allocations: 2.447 MB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005451/0.3424, allocations: 23.06 kB / 405.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.3453, allocations: 1.182 MB / 406.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.3469, allocations: 0.5434 MB / 406.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3493, allocations: 1.175 MB / 408 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.3506, allocations: 1.099 MB / 409.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.3517, allocations: 0.7701 MB / 409.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.3522, allocations: 468.4 kB / 410.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/0.3529, allocations: 0.4899 MB / 410.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.353, allocations: 98.12 kB / 410.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.354, allocations: 390.5 kB / 411.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3541, allocations: 241.8 kB / 411.5 MB, free: 472 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.3545, allocations: 442 kB / 412 MB, free: 192 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.3565, allocations: 1.533 MB / 413.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3565, allocations: 0 / 413.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3565, allocations: 0 / 413.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3565, allocations: 0 / 413.5 MB, free: 15.07 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.00474/0.3612, allocations: 1.713 MB / 415.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3613, allocations: 8.438 kB / 415.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/0.3652, allocations: 0.5822 MB / 415.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/0.3661, allocations: 445.3 kB / 416.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3663, allocations: 85.67 kB / 416.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.3664, allocations: 114.8 kB / 416.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.3686, allocations: 1.063 MB / 417.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.3686, allocations: 5.062 kB / 417.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3687, allocations: 46.59 kB / 417.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.3688, allocations: 26.91 kB / 417.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.3709, allocations: 1.021 MB / 418.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/0.3771, allocations: 2.998 MB / 421.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.3791, allocations: 0.8736 MB / 422.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008435/0.38, allocations: 401.1 kB / 422.8 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.825e-05/0.3801, allocations: 24.98 kB / 422.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009887/0.381, allocations: 0.5175 MB / 423.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.835e-06/0.3811, allocations: 0 / 423.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009363/0.3904, allocations: 3.688 MB / 427.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.3905, allocations: 141.5 kB / 427.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00058/0.3911, allocations: 397.4 kB / 427.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.3912, allocations: 49.7 kB / 427.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/0.3917, allocations: 456.8 kB / 428.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.3921, allocations: 448.1 kB / 428.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.3924, allocations: 214.9 kB / 428.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3926, allocations: 382.7 kB / 429.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/0.3934, allocations: 358.4 kB / 429.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.3944, allocations: 0.6301 MB / 430.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.3962, allocations: 0.993 MB / 431.1 MB, free: 364 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3962, allocations: 0 / 431.1 MB, free: 364 kB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002947/0.3991, allocations: 1.41 MB / 432.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3991, allocations: 11.94 kB / 432.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.3992, allocations: 8 kB / 432.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4002, allocations: 347.1 kB / 432.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.4011, allocations: 219.7 kB / 433.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009187/0.4103, allocations: 7.902 MB / 441 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.4113, allocations: 55.97 kB / 441 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/0.4113, allocations: 44 kB / 441.1 MB, free: 5.93 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.0005029/0.4119, allocations: 269.7 kB / 441.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.412, allocations: 83.5 kB / 441.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.4147, allocations: 1.297 MB / 442.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.4147, allocations: 16 kB / 442.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4147, allocations: 4 kB / 442.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.4147, allocations: 15.92 kB / 442.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.419, allocations: 2.21 MB / 445 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.419, allocations: 4 kB / 445 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.4197, allocations: 156 kB / 445.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008179/0.4205, allocations: 327 kB / 445.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.4206, allocations: 31.88 kB / 445.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0083/0.4289, allocations: 7.529 MB / 453 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4289, allocations: 0 / 453 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.4326, allocations: 1.83 MB / 454.8 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.433, allocations: 143.5 kB / 455 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.4331, allocations: 32.06 kB / 455 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005077/0.4336, allocations: 39.92 kB / 455 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.4339, allocations: 100.8 kB / 455.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.4339, allocations: 36 kB / 455.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.4343, allocations: 259.2 kB / 455.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4343, allocations: 0 / 455.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001394/0.4357, allocations: 327.9 kB / 455.7 MB, free: 6.691 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.0003469/0.436, allocations: 175 kB / 455.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.439, allocations: 1.573 MB / 457.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.439, allocations: 448 / 457.5 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.4407, allocations: 1.106 MB / 458.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.4413, allocations: 73.42 kB / 458.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.4453, allocations: 2.015 MB / 460.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.4458, allocations: 440.4 kB / 461.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.4463, allocations: 102.2 kB / 461.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4464, allocations: 59.36 kB / 461.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4464, allocations: 0 / 461.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of Templates: time 0.0227/0.4691, allocations: 12.09 MB / 473.4 MB, free: 4.844 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/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: 5.525154143571854]