Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001201/0.001201, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001442/0.001442, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2057/0.2057, allocations: 34.26 MB / 295.5 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 71.88 kB / 443.1 MB, free: 6.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3515, allocations: 66 MB / 0.4972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.003041/0.3545, allocations: 2.356 MB / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3561, allocations: 1.03 MB / 0.5005 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.3562, allocations: 10.66 kB / 0.5005 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.3573, allocations: 494.6 kB / 0.501 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.3575, allocations: 115.1 kB / 0.5011 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.3583, allocations: 449.1 kB / 0.5015 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.3585, allocations: 220.2 kB / 0.5017 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.3589, allocations: 224.8 kB / 0.502 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3591, allocations: 101.7 kB / 0.5021 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3592, allocations: 113.3 kB / 0.5022 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.3592, allocations: 18.78 kB / 0.5022 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.3595, allocations: 151.4 kB / 0.5023 GB, free: 26.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.3595, allocations: 49.25 kB / 0.5024 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.3596, allocations: 93.38 kB / 0.5025 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.3601, allocations: 406.4 kB / 0.5029 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3601, allocations: 0 / 0.5029 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3601, allocations: 0 / 0.5029 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3601, allocations: 3.25 kB / 0.5029 GB, free: 26.38 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.001172/0.3613, allocations: 0.5493 MB / 0.5034 GB, free: 25.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3613, allocations: 9.469 kB / 0.5034 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.3616, allocations: 55.64 kB / 0.5035 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.3617, allocations: 135 kB / 0.5036 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3617, allocations: 17.34 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3618, allocations: 24.72 kB / 0.5036 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.3623, allocations: 293.7 kB / 0.5039 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3623, allocations: 0 / 0.5039 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.3623, allocations: 8 kB / 0.5039 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3623, allocations: 10.12 kB / 0.5039 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.3628, allocations: 235 kB / 0.5041 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.364, allocations: 0.8167 MB / 0.5049 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.3644, allocations: 208.5 kB / 0.5051 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3647, allocations: 128.5 kB / 0.5053 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3648, allocations: 12.47 kB / 0.5053 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.3648, allocations: 37.53 kB / 0.5053 GB, free: 24.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.3648, allocations: 0 / 0.5053 GB, free: 24.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.00104/0.3659, allocations: 353.8 kB / 0.5057 GB, free: 24.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.3659, allocations: 88.2 kB / 0.5057 GB, free: 24.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.366, allocations: 127 kB / 0.5059 GB, free: 24.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.366, allocations: 29.7 kB / 0.5059 GB, free: 24.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.3661, allocations: 155 kB / 0.506 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3661, allocations: 61.41 kB / 0.5061 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.3661, allocations: 37.66 kB / 0.5061 GB, free: 24.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.3662, allocations: 328.2 kB / 0.5064 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3664, allocations: 67.52 kB / 0.5065 GB, free: 23.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3666, allocations: 132 kB / 0.5066 GB, free: 23.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.367, allocations: 196 kB / 0.5068 GB, free: 23.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3671, allocations: 4 kB / 0.5068 GB, free: 23.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005524/0.3676, allocations: 272.7 kB / 0.5071 GB, free: 23.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3676, allocations: 9.016 kB / 0.5071 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3676, allocations: 3.469 kB / 0.5071 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.3678, allocations: 53.84 kB / 0.5071 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.368, allocations: 44.2 kB / 0.5072 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.3693, allocations: 2.588 MB / 0.5097 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3694, allocations: 27.88 kB / 0.5097 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3694, allocations: 10.16 kB / 0.5097 GB, free: 20.91 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 9.607e-05/0.3695, allocations: 138 kB / 0.5099 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.3696, allocations: 21.78 kB / 0.5099 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.3701, allocations: 266.8 kB / 0.5102 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3701, allocations: 6.969 kB / 0.5102 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.3701, allocations: 3 kB / 0.5102 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3701, allocations: 0 / 0.5102 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009088/0.3711, allocations: 0.5526 MB / 0.5107 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3711, allocations: 3 kB / 0.5107 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.3712, allocations: 31.03 kB / 0.5107 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.3713, allocations: 48.61 kB / 0.5108 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3714, allocations: 6.969 kB / 0.5108 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.3725, allocations: 2.587 MB / 0.5133 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3725, allocations: 8.047 kB / 0.5133 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.3732, allocations: 0.5144 MB / 0.5138 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.3733, allocations: 10.98 kB / 0.5138 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3733, allocations: 7 kB / 0.5138 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3735, allocations: 27.98 kB / 0.5139 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.3735, allocations: 16.66 kB / 0.5139 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3735, allocations: 6.062 kB / 0.5139 GB, free: 17.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.3736, allocations: 98.39 kB / 0.514 GB, free: 17.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3736, allocations: 0 / 0.514 GB, free: 17.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.374, allocations: 75.84 kB / 0.5141 GB, free: 17.19 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.0001738/0.3742, allocations: 125.6 kB / 0.5142 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.3749, allocations: 412.5 kB / 0.5146 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3749, allocations: 4 kB / 0.5146 GB, free: 16.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.3752, allocations: 318.3 kB / 0.5149 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3756, allocations: 17.12 kB / 0.5149 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.3764, allocations: 483.6 kB / 0.5154 GB, free: 16.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.423e-05/0.3765, allocations: 125.4 kB / 0.5155 GB, free: 16.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.3765, allocations: 18.72 kB / 0.5155 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.3766, allocations: 18.97 kB / 0.5155 GB, free: 16.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3766, allocations: 3.938 kB / 0.5155 GB, free: 16.1 MB / 446.1 MB Notification: Performance of Templates: time 0.006621/0.3832, allocations: 2.335 MB / 0.5178 GB, free: 15.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.089024040964432]