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.001381/0.001381, allocations: 72.06 kB / 21.24 MB, free: 0.5469 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.001485/0.001485, allocations: 159.5 kB / 24.5 MB, free: 3.723 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.489/1.489, allocations: 177.2 MB / 204.9 MB, free: 9.02 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.2108/0.2108, allocations: 32.8 MB / 294.1 MB, free: 20 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.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: 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.002294/0.002294, allocations: 59.91 kB / 440.5 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4378, allocations: 65.45 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003443/0.4413, allocations: 2.362 MB / 0.4964 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.4428, allocations: 1.021 MB / 0.4974 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.4429, allocations: 10.5 kB / 0.4975 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.444, allocations: 496.6 kB / 0.4979 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.4443, allocations: 114 kB / 0.498 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.4451, allocations: 443.1 kB / 0.4985 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.4453, allocations: 229.3 kB / 0.4987 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.4458, allocations: 220.8 kB / 0.4989 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.4459, allocations: 110 kB / 0.499 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.4461, allocations: 100.3 kB / 0.4991 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.4461, allocations: 22.03 kB / 0.4991 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.4464, allocations: 154.7 kB / 0.4993 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.4464, allocations: 44.5 kB / 0.4993 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.4465, allocations: 94.52 kB / 0.4994 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.447, allocations: 401.5 kB / 0.4998 GB, free: 27.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.447, allocations: 0 / 0.4998 GB, free: 27.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.447, allocations: 0 / 0.4998 GB, free: 27.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.447, allocations: 4 kB / 0.4998 GB, free: 27.89 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001436/0.4485, allocations: 0.5531 MB / 0.5003 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4485, allocations: 9.531 kB / 0.5003 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.4488, allocations: 49.23 kB / 0.5004 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.4489, allocations: 140.2 kB / 0.5005 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4489, allocations: 17.88 kB / 0.5005 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.449, allocations: 28.06 kB / 0.5005 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.4495, allocations: 292.2 kB / 0.5008 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.4495, allocations: 3.375 kB / 0.5008 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4496, allocations: 11.12 kB / 0.5008 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4496, allocations: 6.562 kB / 0.5008 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.4501, allocations: 228.6 kB / 0.5011 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.4513, allocations: 0.8181 MB / 0.5019 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.4517, allocations: 206.3 kB / 0.5021 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.452, allocations: 132.5 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.4521, allocations: 20.39 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.4521, allocations: 30.56 kB / 0.5022 GB, free: 26.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.4521, allocations: 0 / 0.5022 GB, free: 26.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001065/0.4532, allocations: 354.5 kB / 0.5026 GB, free: 26.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4532, allocations: 87.67 kB / 0.5027 GB, free: 26.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.4533, allocations: 133 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4533, allocations: 28.7 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.4534, allocations: 148.5 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4534, allocations: 68.83 kB / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.4535, allocations: 45.25 kB / 0.5031 GB, free: 25.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.4535, allocations: 318 kB / 0.5034 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4537, allocations: 72.83 kB / 0.5034 GB, free: 25.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.4539, allocations: 123.3 kB / 0.5036 GB, free: 25.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.4543, allocations: 207.9 kB / 0.5037 GB, free: 25.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4543, allocations: 0 / 0.5037 GB, free: 25.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005333/0.4549, allocations: 278.5 kB / 0.504 GB, free: 25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4549, allocations: 6 kB / 0.504 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4549, allocations: 2.906 kB / 0.504 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.4551, allocations: 47.23 kB / 0.5041 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.4553, allocations: 48.56 kB / 0.5041 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.4566, allocations: 2.587 MB / 0.5066 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4567, allocations: 28.69 kB / 0.5067 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.4567, allocations: 10.34 kB / 0.5067 GB, free: 22.4 MB / 446.1 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.0001114/0.4568, allocations: 149.1 kB / 0.5068 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.4569, allocations: 22.44 kB / 0.5068 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.4575, allocations: 252.1 kB / 0.5071 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4575, allocations: 6.656 kB / 0.5071 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4575, allocations: 0 / 0.5071 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4575, allocations: 2.719 kB / 0.5071 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008792/0.4584, allocations: 0.5513 MB / 0.5076 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4584, allocations: 3 kB / 0.5076 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4585, allocations: 34.64 kB / 0.5077 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.4586, allocations: 45.66 kB / 0.5077 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4586, allocations: 11.09 kB / 0.5077 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.4598, allocations: 2.587 MB / 0.5102 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4598, allocations: 0 / 0.5102 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.4605, allocations: 0.5187 MB / 0.5108 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.4605, allocations: 10.95 kB / 0.5108 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.4605, allocations: 6.938 kB / 0.5108 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.4607, allocations: 19.88 kB / 0.5108 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.4608, allocations: 20.8 kB / 0.5108 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4608, allocations: 13.48 kB / 0.5108 GB, free: 18.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.4608, allocations: 94.7 kB / 0.5109 GB, free: 18.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4608, allocations: 64 / 0.5109 GB, free: 18.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.4612, allocations: 79.34 kB / 0.511 GB, free: 18.68 MB / 446.1 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.000189/0.4614, allocations: 126 kB / 0.5111 GB, free: 18.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006808/0.4621, allocations: 418.5 kB / 0.5115 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4621, allocations: 0 / 0.5115 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.4624, allocations: 321.5 kB / 0.5118 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.4629, allocations: 23.84 kB / 0.5118 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.4636, allocations: 459.3 kB / 0.5123 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.148e-05/0.4637, allocations: 124.9 kB / 0.5124 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.576e-05/0.4637, allocations: 18.7 kB / 0.5124 GB, free: 17.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.4638, allocations: 14.62 kB / 0.5124 GB, free: 17.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4638, allocations: 3.156 kB / 0.5124 GB, free: 17.61 MB / 446.1 MB Notification: Performance of Templates: time 0.005787/0.4696, allocations: 2.369 MB / 0.5147 GB, free: 17.28 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.290412976988591]