Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001396/0.001396, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.00144/0.00144, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.2095/0.2095, allocations: 32.8 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 179] 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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002093/0.002093, allocations: 63.91 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3765, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003919/0.3805, allocations: 3.245 MB / 0.4973 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3817, allocations: 0.7976 MB / 0.4981 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.3818, allocations: 10.09 kB / 0.4981 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.382, allocations: 73.03 kB / 0.4982 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3823, allocations: 127.9 kB / 0.4983 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.3826, allocations: 136.6 kB / 0.4984 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.383, allocations: 0.5187 MB / 0.4989 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.3833, allocations: 166.6 kB / 0.4991 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3835, allocations: 213.4 kB / 0.4993 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3837, allocations: 198.2 kB / 0.4995 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.3838, allocations: 50.16 kB / 0.4995 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.3839, allocations: 53.5 kB / 0.4996 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.384, allocations: 116.1 kB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.3841, allocations: 207.5 kB / 0.4999 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.3846, allocations: 0.5632 MB / 0.5004 GB, free: 27.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3846, allocations: 7.938 kB / 0.5004 GB, free: 27.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3846, allocations: 0 / 0.5004 GB, free: 27.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3846, allocations: 0 / 0.5004 GB, free: 27.47 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00115/0.3858, allocations: 0.6945 MB / 0.5011 GB, free: 26.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3858, allocations: 8.812 kB / 0.5011 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.3859, allocations: 54.17 kB / 0.5012 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.3863, allocations: 257.8 kB / 0.5014 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.3863, allocations: 39.25 kB / 0.5015 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.3864, allocations: 48.86 kB / 0.5015 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.3871, allocations: 0.5119 MB / 0.502 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3871, allocations: 0 / 0.502 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.3872, allocations: 19.31 kB / 0.502 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3872, allocations: 16.44 kB / 0.502 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.3878, allocations: 315.1 kB / 0.5023 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3897, allocations: 1.444 MB / 0.5038 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.3902, allocations: 236 kB / 0.504 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.3905, allocations: 125 kB / 0.5041 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3905, allocations: 2.938 kB / 0.5041 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.3905, allocations: 37.56 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.3905, allocations: 0 / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00258/0.3931, allocations: 1.137 MB / 0.5052 GB, free: 24.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.3931, allocations: 86.92 kB / 0.5053 GB, free: 24.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3933, allocations: 260.6 kB / 0.5056 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3933, allocations: 32.86 kB / 0.5056 GB, free: 24.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.3934, allocations: 272.1 kB / 0.5059 GB, free: 23.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.3935, allocations: 122.7 kB / 0.506 GB, free: 23.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/0.3936, allocations: 75.66 kB / 0.5061 GB, free: 23.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.3936, allocations: 339.4 kB / 0.5064 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3938, allocations: 102 kB / 0.5065 GB, free: 23.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.3941, allocations: 215.9 kB / 0.5067 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.3946, allocations: 345.1 kB / 0.507 GB, free: 23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3946, allocations: 3.188 kB / 0.507 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006999/0.3953, allocations: 418.5 kB / 0.5074 GB, free: 22.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3953, allocations: 10.03 kB / 0.5074 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3953, allocations: 3.375 kB / 0.5074 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.3955, allocations: 35.61 kB / 0.5075 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.3959, allocations: 127 kB / 0.5076 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000711/0.3966, allocations: 1.314 MB / 0.5089 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.3968, allocations: 16.38 kB / 0.5089 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3969, allocations: 17.12 kB / 0.5089 GB, free: 21.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.397, allocations: 170.1 kB / 0.5091 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.3971, allocations: 34.97 kB / 0.5091 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.3971, allocations: 39.38 kB / 0.5091 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3971, allocations: 3.156 kB / 0.5091 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3971, allocations: 0 / 0.5091 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3971, allocations: 3.125 kB / 0.5091 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.398, allocations: 0.5775 MB / 0.5097 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.398, allocations: 3.156 kB / 0.5097 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.3984, allocations: 97.14 kB / 0.5098 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.854e-05/0.3984, allocations: 28.3 kB / 0.5098 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.3984, allocations: 10.41 kB / 0.5098 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005793/0.399, allocations: 1.298 MB / 0.5111 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.399, allocations: 3.062 kB / 0.5111 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.3999, allocations: 0.6071 MB / 0.5117 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.3999, allocations: 43.03 kB / 0.5117 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.4, allocations: 10.11 kB / 0.5118 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.4002, allocations: 23.55 kB / 0.5118 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.4003, allocations: 27.53 kB / 0.5118 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4003, allocations: 9.375 kB / 0.5118 GB, free: 19.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.4004, allocations: 181.4 kB / 0.512 GB, free: 19.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4004, allocations: 0 / 0.512 GB, free: 19.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.4009, allocations: 97.41 kB / 0.5121 GB, free: 19.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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 9.761e-05/0.401, allocations: 102.3 kB / 0.5122 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.4017, allocations: 395.5 kB / 0.5126 GB, free: 18.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4017, allocations: 0 / 0.5126 GB, free: 18.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.402, allocations: 246.3 kB / 0.5128 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4025, allocations: 49.89 kB / 0.5128 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.4039, allocations: 0.9221 MB / 0.5137 GB, free: 17.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.404, allocations: 209.4 kB / 0.5139 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.4042, allocations: 30.14 kB / 0.514 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.4042, allocations: 33.55 kB / 0.514 GB, free: 17.84 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4042, allocations: 0 / 0.514 GB, free: 17.84 MB / 446.1 MB Notification: Performance of Templates: time 0.007114/0.4114, allocations: 2.929 MB / 0.5169 GB, free: 17.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.095377621939406]