Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001767/0.001767, allocations: 72.3 kB / 21.24 MB, free: 404 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.001962/0.001962, allocations: 169.9 kB / 24.5 MB, free: 3.457 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.552/1.552, allocations: 177.2 MB / 204.9 MB, free: 9.039 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.2228/0.2228, allocations: 34.28 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.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.89 kB / 443.1 MB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 66 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003809/0.3627, allocations: 3.249 MB / 0.5004 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3639, allocations: 0.8045 MB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.3641, allocations: 9.656 kB / 0.5012 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.3643, allocations: 74.27 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.3645, allocations: 127.7 kB / 0.5014 GB, free: 26.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.3648, allocations: 134.3 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.3652, allocations: 0.5187 MB / 0.502 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.3654, allocations: 165.5 kB / 0.5022 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3656, allocations: 214.8 kB / 0.5024 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.3658, allocations: 203.6 kB / 0.5026 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.3659, allocations: 50 kB / 0.5026 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.3659, allocations: 47.72 kB / 0.5027 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.707e-05/0.366, allocations: 113.1 kB / 0.5028 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3662, allocations: 213.8 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.3666, allocations: 0.5638 MB / 0.5035 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3666, allocations: 0 / 0.5035 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3666, allocations: 0 / 0.5035 GB, free: 25.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3666, allocations: 0 / 0.5035 GB, free: 25.95 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.001103/0.3677, allocations: 0.6945 MB / 0.5042 GB, free: 25.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3678, allocations: 9.25 kB / 0.5042 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.3678, allocations: 53.67 kB / 0.5043 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.3682, allocations: 264.7 kB / 0.5045 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3682, allocations: 36.19 kB / 0.5045 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.3683, allocations: 47.38 kB / 0.5046 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.369, allocations: 0.5082 MB / 0.5051 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.369, allocations: 3.422 kB / 0.5051 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.369, allocations: 19.03 kB / 0.5051 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3691, allocations: 12.34 kB / 0.5051 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.3697, allocations: 318.5 kB / 0.5054 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.3715, allocations: 1.453 MB / 0.5068 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.372, allocations: 226.8 kB / 0.5071 GB, free: 23.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.3723, allocations: 122.7 kB / 0.5072 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3723, allocations: 7.031 kB / 0.5072 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3723, allocations: 37.69 kB / 0.5072 GB, free: 23.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.694e-06/0.3723, allocations: 7.938 kB / 0.5072 GB, free: 23.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002534/0.3749, allocations: 1.13 MB / 0.5083 GB, free: 22.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.3749, allocations: 87.28 kB / 0.5084 GB, free: 22.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3751, allocations: 262.3 kB / 0.5087 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3751, allocations: 29.7 kB / 0.5087 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.3752, allocations: 264.9 kB / 0.5089 GB, free: 22.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.3753, allocations: 125.2 kB / 0.5091 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.3753, allocations: 75.58 kB / 0.5091 GB, free: 22.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.3754, allocations: 339 kB / 0.5095 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.3756, allocations: 110.2 kB / 0.5096 GB, free: 21.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.3759, allocations: 213.9 kB / 0.5098 GB, free: 21.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.3764, allocations: 346.3 kB / 0.5101 GB, free: 21.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3764, allocations: 0 / 0.5101 GB, free: 21.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007082/0.3771, allocations: 423.2 kB / 0.5105 GB, free: 21.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3771, allocations: 6.156 kB / 0.5105 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3771, allocations: 3.156 kB / 0.5105 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.3773, allocations: 32.12 kB / 0.5105 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.3777, allocations: 128.3 kB / 0.5107 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007529/0.3785, allocations: 1.308 MB / 0.5119 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3787, allocations: 20.7 kB / 0.512 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.3787, allocations: 16.5 kB / 0.512 GB, free: 19.96 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.0001585/0.3789, allocations: 160.9 kB / 0.5121 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.3789, allocations: 38.22 kB / 0.5122 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.379, allocations: 40.16 kB / 0.5122 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.379, allocations: 2.938 kB / 0.5122 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.379, allocations: 2.719 kB / 0.5122 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.379, allocations: 0 / 0.5122 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.3799, allocations: 0.5872 MB / 0.5128 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3799, allocations: 0 / 0.5128 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.3803, allocations: 90.36 kB / 0.5129 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.3e-05/0.3804, allocations: 28.61 kB / 0.5129 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3804, allocations: 11.06 kB / 0.5129 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.3812, allocations: 1.306 MB / 0.5142 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3812, allocations: 1.188 kB / 0.5142 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3823, allocations: 0.6081 MB / 0.5148 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3824, allocations: 46.06 kB / 0.5148 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.3825, allocations: 6.312 kB / 0.5148 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.3827, allocations: 25.78 kB / 0.5148 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.3828, allocations: 23.81 kB / 0.5149 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3828, allocations: 10.62 kB / 0.5149 GB, free: 17.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.383, allocations: 184.3 kB / 0.5151 GB, free: 17.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 0.5151 GB, free: 17.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.3835, allocations: 96.53 kB / 0.5151 GB, free: 17.5 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 0.0001056/0.3837, allocations: 101.6 kB / 0.5152 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.3845, allocations: 398.3 kB / 0.5156 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3845, allocations: 5.062 kB / 0.5156 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.3848, allocations: 244.4 kB / 0.5159 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.3853, allocations: 39.81 kB / 0.5159 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3869, allocations: 0.9184 MB / 0.5168 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3871, allocations: 205.9 kB / 0.517 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3872, allocations: 33.75 kB / 0.517 GB, free: 16.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.3873, allocations: 29.78 kB / 0.5171 GB, free: 16.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3873, allocations: 0 / 0.5171 GB, free: 16.32 MB / 446.1 MB Notification: Performance of Templates: time 0.008753/0.3961, allocations: 2.93 MB / 0.5199 GB, free: 15.9 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.156258235918358]