Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.001374/0.001374, 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.001551/0.001551, allocations: 161.9 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.523/1.523, 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.2272/0.2272, allocations: 32.81 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [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.002324/0.002324, allocations: 63.89 kB / 440.5 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4492, allocations: 65.45 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.004379/0.4535, allocations: 1.705 MB / 0.4958 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.4538, allocations: 87.3 kB / 0.4959 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.4539, allocations: 0 / 0.4959 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.284e-05/0.4539, allocations: 14.67 kB / 0.4959 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.454, allocations: 19.22 kB / 0.4959 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.4542, allocations: 29.52 kB / 0.4959 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4544, allocations: 115.2 kB / 0.4961 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.4547, allocations: 39.06 kB / 0.4961 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.4548, allocations: 38.97 kB / 0.4961 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.4549, allocations: 46.33 kB / 0.4962 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.4549, allocations: 11.88 kB / 0.4962 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.29e-05/0.4549, allocations: 12.38 kB / 0.4962 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.455, allocations: 22.61 kB / 0.4962 GB, free: 30 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.455, allocations: 40.05 kB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.4552, allocations: 121.1 kB / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4552, allocations: 0 / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4552, allocations: 0 / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4552, allocations: 7.938 kB / 0.4964 GB, free: 29.92 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006013/0.4558, allocations: 346 kB / 0.4967 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4559, allocations: 12.97 kB / 0.4967 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.4559, allocations: 7.922 kB / 0.4967 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.456, allocations: 120.5 kB / 0.4968 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.456, allocations: 7.375 kB / 0.4968 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.4561, allocations: 6.469 kB / 0.4969 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.4564, allocations: 127.5 kB / 0.497 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4564, allocations: 192 / 0.497 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.4564, allocations: 11.06 kB / 0.497 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4564, allocations: 3.188 kB / 0.497 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.4568, allocations: 107.1 kB / 0.4971 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.4574, allocations: 396.2 kB / 0.4975 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.4577, allocations: 70.62 kB / 0.4975 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.4579, allocations: 61.47 kB / 0.4976 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4579, allocations: 2.906 kB / 0.4976 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4579, allocations: 34.56 kB / 0.4976 GB, free: 28.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4579, allocations: 0 / 0.4976 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007722/0.4587, allocations: 192.7 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.4587, allocations: 55.41 kB / 0.4979 GB, free: 28.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.4588, allocations: 119.6 kB / 0.498 GB, free: 28.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.4588, allocations: 25.7 kB / 0.498 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.4589, allocations: 102.7 kB / 0.4981 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.4589, allocations: 26.88 kB / 0.4981 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.4589, allocations: 23.55 kB / 0.4982 GB, free: 28.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.459, allocations: 314.8 kB / 0.4985 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4591, allocations: 39.69 kB / 0.4985 GB, free: 28.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4593, allocations: 62.77 kB / 0.4985 GB, free: 28.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.4596, allocations: 97 kB / 0.4986 GB, free: 28.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4596, allocations: 3.938 kB / 0.4986 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00036/0.4599, allocations: 153.5 kB / 0.4988 GB, free: 28.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4599, allocations: 6.406 kB / 0.4988 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4599, allocations: 7.312 kB / 0.4988 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.4601, allocations: 28.78 kB / 0.4988 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4602, allocations: 15.53 kB / 0.4988 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007171/0.4609, allocations: 1.279 MB / 0.5001 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.461, allocations: 13.66 kB / 0.5001 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.461, allocations: 3.031 kB / 0.5001 GB, free: 26.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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 6.678e-05/0.4611, allocations: 118.7 kB / 0.5002 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.4611, allocations: 7.172 kB / 0.5002 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.4611, allocations: 15.84 kB / 0.5002 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.4611, allocations: 0 / 0.5002 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4611, allocations: 3.25 kB / 0.5003 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4612, allocations: 64 / 0.5003 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.4617, allocations: 364 kB / 0.5006 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4617, allocations: 128 / 0.5006 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.4618, allocations: 17.22 kB / 0.5006 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.92e-05/0.4618, allocations: 24.67 kB / 0.5006 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4618, allocations: 7.5 kB / 0.5006 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/0.4624, allocations: 1.278 MB / 0.5019 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4624, allocations: 0 / 0.5019 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.4628, allocations: 237 kB / 0.5021 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.4628, allocations: 7.891 kB / 0.5021 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.4628, allocations: 3.219 kB / 0.5021 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.4629, allocations: 21.27 kB / 0.5021 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.4629, allocations: 6.734 kB / 0.5022 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.463, allocations: 3.125 kB / 0.5022 GB, free: 24.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.463, allocations: 89.03 kB / 0.5022 GB, free: 24.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.463, allocations: 0 / 0.5022 GB, free: 24.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.4632, allocations: 26.69 kB / 0.5023 GB, free: 24.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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 8.174e-05/0.4633, allocations: 92.12 kB / 0.5024 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.4638, allocations: 209.4 kB / 0.5026 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4638, allocations: 0 / 0.5026 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.464, allocations: 160.6 kB / 0.5027 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4644, allocations: 19.38 kB / 0.5027 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.4648, allocations: 225.6 kB / 0.5029 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.4649, allocations: 82.72 kB / 0.503 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.999e-05/0.4649, allocations: 3.75 kB / 0.503 GB, free: 24.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.4649, allocations: 15.75 kB / 0.503 GB, free: 24.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4649, allocations: 0 / 0.503 GB, free: 24.14 MB / 446.1 MB Notification: Performance of Templates: time 0.004248/0.4692, allocations: 1.149 MB / 0.5042 GB, free: 23.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.323729941039346]