Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.001774/0.001774, allocations: 73.56 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.002478/0.002478, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.504/1.504, 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.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.2183/0.2183, allocations: 34.27 MB / 295.5 MB, free: 14.57 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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.91 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 66 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00302/0.3631, allocations: 2.36 MB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3642, allocations: 0.792 MB / 0.5003 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.3643, allocations: 3.312 kB / 0.5003 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3645, allocations: 55.25 kB / 0.5004 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.3648, allocations: 106.4 kB / 0.5005 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.365, allocations: 99.98 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.3653, allocations: 363.5 kB / 0.5009 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3654, allocations: 61.77 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.3657, allocations: 153 kB / 0.5011 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3658, allocations: 138.9 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.325e-05/0.3659, allocations: 28.72 kB / 0.5013 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.366, allocations: 31.44 kB / 0.5013 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.366, allocations: 70.84 kB / 0.5014 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.3661, allocations: 130.2 kB / 0.5015 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3664, allocations: 384.4 kB / 0.5019 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3664, allocations: 0 / 0.5019 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3664, allocations: 3.938 kB / 0.5019 GB, free: 26.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3664, allocations: 0 / 0.5019 GB, free: 26.97 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.0009239/0.3673, allocations: 0.5531 MB / 0.5024 GB, free: 26.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3674, allocations: 11.84 kB / 0.5024 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.3675, allocations: 46.41 kB / 0.5025 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3678, allocations: 208.9 kB / 0.5027 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.3678, allocations: 23.62 kB / 0.5027 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3679, allocations: 23.25 kB / 0.5027 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.3683, allocations: 252.8 kB / 0.5029 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3683, allocations: 0 / 0.5029 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3683, allocations: 11.12 kB / 0.503 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3683, allocations: 9.641 kB / 0.503 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.3688, allocations: 228 kB / 0.5032 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3699, allocations: 0.7378 MB / 0.5039 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.3704, allocations: 282.9 kB / 0.5042 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.3706, allocations: 122.8 kB / 0.5043 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.3706, allocations: 7.062 kB / 0.5043 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3707, allocations: 41.52 kB / 0.5043 GB, free: 25.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.3707, allocations: 4 kB / 0.5043 GB, free: 25.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.004082/0.3747, allocations: 0.955 MB / 0.5053 GB, free: 25.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3748, allocations: 54.69 kB / 0.5053 GB, free: 25.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3749, allocations: 233.7 kB / 0.5055 GB, free: 24.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.375, allocations: 32.73 kB / 0.5056 GB, free: 24.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.375, allocations: 171.6 kB / 0.5057 GB, free: 24.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3751, allocations: 110.6 kB / 0.5058 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.3752, allocations: 52.69 kB / 0.5059 GB, free: 24.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.3752, allocations: 335.1 kB / 0.5062 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3754, allocations: 92.97 kB / 0.5063 GB, free: 24.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.3756, allocations: 121.2 kB / 0.5064 GB, free: 24.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.376, allocations: 226.4 kB / 0.5066 GB, free: 24.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.376, allocations: 4 kB / 0.5066 GB, free: 24.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001569/0.3776, allocations: 0.5486 MB / 0.5072 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3776, allocations: 9.781 kB / 0.5072 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3776, allocations: 0 / 0.5072 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.3791, allocations: 318 kB / 0.5075 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3793, allocations: 24.86 kB / 0.5075 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.3848, allocations: 6.297 MB / 0.5137 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.385, allocations: 28.72 kB / 0.5137 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.385, allocations: 10.12 kB / 0.5137 GB, free: 18.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.3851, allocations: 142.3 kB / 0.5138 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.3852, allocations: 31.36 kB / 0.5139 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.3868, allocations: 0.5468 MB / 0.5144 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3868, allocations: 6.188 kB / 0.5144 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.3868, allocations: 0 / 0.5144 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3868, allocations: 7.359 kB / 0.5144 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3871, allocations: 242 kB / 0.5146 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3871, allocations: 5.312 kB / 0.5146 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3872, allocations: 27.2 kB / 0.5147 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.3886, allocations: 315.8 kB / 0.515 GB, free: 17.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3887, allocations: 6.25 kB / 0.515 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/0.3947, allocations: 6.342 MB / 0.5212 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3947, allocations: 5.5 kB / 0.5212 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3964, allocations: 0.6132 MB / 0.5218 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.3965, allocations: 32.78 kB / 0.5218 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3965, allocations: 6.531 kB / 0.5218 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3967, allocations: 11.05 kB / 0.5218 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.3969, allocations: 31.84 kB / 0.5219 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3969, allocations: 14.31 kB / 0.5219 GB, free: 11.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3971, allocations: 166.7 kB / 0.522 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3971, allocations: 0 / 0.522 GB, free: 11.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006163/0.3977, allocations: 122.8 kB / 0.5221 GB, free: 11.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.3978, allocations: 106.3 kB / 0.5222 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009737/0.3988, allocations: 0.7457 MB / 0.523 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3988, allocations: 0 / 0.523 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3999, allocations: 0.7158 MB / 0.5237 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.4003, allocations: 33.88 kB / 0.5237 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4013, allocations: 0.5664 MB / 0.5243 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.4015, allocations: 169.8 kB / 0.5244 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.4015, allocations: 11.12 kB / 0.5244 GB, free: 9.727 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.4016, allocations: 14.3 kB / 0.5244 GB, free: 9.719 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4016, allocations: 0 / 0.5244 GB, free: 9.719 MB / 446.1 MB Notification: Performance of Templates: time 0.01924/0.4208, allocations: 8.442 MB / 0.5327 GB, free: 8.703 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.53852946695406]