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.001651/0.001651, allocations: 82.84 kB / 21.99 MB, free: 5.176 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.001741/0.001741, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.305/1.305, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.1 MB " [Timeout remaining time 179] 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.002007/0.002007, allocations: 55.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1972, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00869/0.2059, allocations: 5.766 MB / 354.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.2108, allocations: 2.445 MB / 356.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.2111, allocations: 23.94 kB / 356.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.2142, allocations: 1.248 MB / 358 MB, free: 6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.2156, allocations: 0.5435 MB / 358.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.2181, allocations: 1.172 MB / 359.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.2194, allocations: 1.098 MB / 360.8 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.2205, allocations: 0.7779 MB / 361.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.2211, allocations: 462.3 kB / 362 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.2218, allocations: 0.4937 MB / 362.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.2219, allocations: 100 kB / 362.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.2227, allocations: 379.7 kB / 363 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.2229, allocations: 243.1 kB / 363.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.2234, allocations: 441.9 kB / 363.7 MB, free: 284 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.2252, allocations: 1.528 MB / 365.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2252, allocations: 0 / 365.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2252, allocations: 0 / 365.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.2252, allocations: 0 / 365.2 MB, free: 14.75 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.004616/0.2298, allocations: 1.712 MB / 366.9 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2299, allocations: 12.03 kB / 366.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004123/0.234, allocations: 0.5778 MB / 367.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.2348, allocations: 455.8 kB / 367.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.2348, allocations: 86.3 kB / 368 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.235, allocations: 112 kB / 368.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.237, allocations: 1.061 MB / 369.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.237, allocations: 7.938 kB / 369.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2371, allocations: 55.98 kB / 369.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.2372, allocations: 28 kB / 369.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.2392, allocations: 1.012 MB / 370.3 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.2451, allocations: 3.01 MB / 373.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.247, allocations: 0.8665 MB / 374.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008126/0.2479, allocations: 403.5 kB / 374.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.2479, allocations: 24.98 kB / 374.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009373/0.2489, allocations: 0.5175 MB / 375.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.337e-06/0.2489, allocations: 3.938 kB / 375.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009158/0.258, allocations: 3.684 MB / 378.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.2581, allocations: 145.5 kB / 378.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.2586, allocations: 397.4 kB / 379.3 MB, free: 264 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.2587, allocations: 45.7 kB / 379.4 MB, free: 212 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.2591, allocations: 449.3 kB / 379.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.2594, allocations: 456.1 kB / 380.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.2598, allocations: 214.9 kB / 380.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.26, allocations: 378.7 kB / 380.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.2607, allocations: 362.5 kB / 381.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.2618, allocations: 0.6262 MB / 381.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.2636, allocations: 0.9892 MB / 382.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2636, allocations: 3.938 kB / 382.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002838/0.2664, allocations: 1.41 MB / 384.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2664, allocations: 8 kB / 384.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2665, allocations: 8 kB / 384.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000934/0.2674, allocations: 355.1 kB / 384.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/0.2683, allocations: 219.7 kB / 384.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/0.277, allocations: 7.898 MB / 392.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.2777, allocations: 52.11 kB / 392.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.2778, allocations: 51.98 kB / 392.8 MB, free: 2.148 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.0004554/0.2783, allocations: 265.7 kB / 393.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2784, allocations: 75.47 kB / 393.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.2812, allocations: 1.309 MB / 394.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.2812, allocations: 12 kB / 394.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2812, allocations: 8 kB / 394.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.2812, allocations: 7.969 kB / 394.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.2855, allocations: 2.21 MB / 396.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.2855, allocations: 7.984 kB / 396.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.2862, allocations: 155.8 kB / 396.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008092/0.287, allocations: 319.3 kB / 397.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.2871, allocations: 39.92 kB / 397.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008021/0.2951, allocations: 7.525 MB / 404.7 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2951, allocations: 4.031 kB / 404.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003467/0.2986, allocations: 1.83 MB / 406.5 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.2989, allocations: 139.5 kB / 406.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.299, allocations: 27.98 kB / 406.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.2995, allocations: 35.98 kB / 406.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.2997, allocations: 104.8 kB / 406.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.2997, allocations: 32 kB / 406.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003013/0.3, allocations: 255.2 kB / 407.1 MB, free: 3.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3, allocations: 8 kB / 407.1 MB, free: 3.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001174/0.3012, allocations: 323.9 kB / 407.5 MB, free: 2.926 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.0002841/0.3015, allocations: 171 kB / 407.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.3043, allocations: 1.584 MB / 409.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3043, allocations: 3.938 kB / 409.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.306, allocations: 1.1 MB / 410.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3065, allocations: 81.38 kB / 410.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.3103, allocations: 2.018 MB / 412.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3108, allocations: 444.4 kB / 412.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.3112, allocations: 98.17 kB / 412.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3113, allocations: 56.48 kB / 413 MB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3113, allocations: 0 / 413 MB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.0211/0.3324, allocations: 10.96 MB / 424 MB, free: 2.191 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 -s ida -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: 4.7733586630783975]