Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001397/0.001397, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001531/0.001531, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 0.9485/0.9485, allocations: 177.2 MB / 205 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2669/0.2669, allocations: 32.8 MB / 294.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 376 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.843e-05, allocations: 2.312 kB / 376 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003203/0.003221, allocations: 2.502 MB / 378.5 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.004562, allocations: 1.074 MB / 379.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.004641, allocations: 4 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.005544, allocations: 0.525 MB / 380.1 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.005764, allocations: 111.1 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.006429, allocations: 466.1 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.0067, allocations: 242.8 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.007067, allocations: 210.8 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.007269, allocations: 147.7 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.007395, allocations: 95.77 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.007428, allocations: 24 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.007665, allocations: 147.7 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.007705, allocations: 47.83 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.007784, allocations: 75.84 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.008162, allocations: 310.9 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.008164, allocations: 4 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008165, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00817, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009495/0.009119, allocations: 0.6442 MB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.00916, allocations: 12.03 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.009479, allocations: 84.69 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.009581, allocations: 136.3 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.009603, allocations: 24.88 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.009651, allocations: 24.38 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.01004, allocations: 241.7 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.01005, allocations: 4.125 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.01007, allocations: 4.375 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01009, allocations: 11.94 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.01029, allocations: 102.9 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01138, allocations: 0.9021 MB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.01163, allocations: 175.5 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.0118, allocations: 91.33 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.01189, allocations: 19.98 kB / 384.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.01191, allocations: 37.39 kB / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.01192, allocations: 0 / 384.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005436/0.01246, allocations: 233.8 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.0125, allocations: 89.05 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.01259, allocations: 185.9 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.01261, allocations: 25.7 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.01269, allocations: 199 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.01274, allocations: 71.36 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.01281, allocations: 55.22 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01294, allocations: 0.4961 MB / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.013, allocations: 28.11 kB / 385.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.01309, allocations: 97.78 kB / 385.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01326, allocations: 136.8 kB / 386 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01326, allocations: 0 / 386 MB, free: 10.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002945/0.01355, allocations: 208.6 kB / 386.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01357, allocations: 6.344 kB / 386.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01357, allocations: 4 kB / 386.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.01375, allocations: 47.34 kB / 386.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01387, allocations: 43.91 kB / 386.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.0155, allocations: 3.527 MB / 389.9 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.01558, allocations: 27.81 kB / 389.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005587/0.01613, allocations: 8 kB / 389.9 MB, free: 6.016 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.01624, allocations: 160.6 kB / 390.1 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.01629, allocations: 19.95 kB / 390.1 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.01659, allocations: 189.5 kB / 390.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.0166, allocations: 0 / 390.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.0166, allocations: 4 kB / 390.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.0166, allocations: 0 / 390.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.01723, allocations: 0.5389 MB / 390.8 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.01724, allocations: 3.984 kB / 390.8 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.01734, allocations: 32.05 kB / 390.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.01744, allocations: 51.34 kB / 390.9 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01746, allocations: 4 kB / 390.9 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.01896, allocations: 3.528 MB / 394.4 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01896, allocations: 4.062 kB / 394.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.01935, allocations: 490 kB / 394.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.01936, allocations: 15.84 kB / 394.9 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.01938, allocations: 11.94 kB / 394.9 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.0195, allocations: 11.98 kB / 394.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.01955, allocations: 19.97 kB / 395 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.01956, allocations: 4 kB / 395 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.01961, allocations: 142.7 kB / 395.1 MB, free: 448 kB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01961, allocations: 0 / 395.1 MB, free: 448 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.01999, allocations: 75.86 kB / 395.2 MB, free: 372 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.02015, allocations: 123.2 kB / 395.3 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.02057, allocations: 460.8 kB / 395.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02057, allocations: 0 / 395.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.0208, allocations: 407.3 kB / 396.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.02112, allocations: 11.98 kB / 396.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.02196, allocations: 458.6 kB / 396.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.206e-05/0.02202, allocations: 80.2 kB / 396.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.02207, allocations: 13.16 kB / 396.7 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.02211, allocations: 24.44 kB / 396.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02211, allocations: 0 / 396.7 MB, free: 14.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005259/0.02737, allocations: 2.417 MB / 399.1 MB, free: 12.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.221783366985619]