Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001389/0.001389, 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.00143/0.00143, allocations: 164 kB / 24.49 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.508/1.508, 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.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.2742/0.2742, allocations: 32.8 MB / 294.1 MB, free: 64 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.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") [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.002143/0.002143, allocations: 67.89 kB / 440.6 MB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 65.45 MB / 0.4941 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004733/0.3634, allocations: 2.352 MB / 0.4964 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3651, allocations: 0.7854 MB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.3653, allocations: 7.094 kB / 0.4972 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.3656, allocations: 61.97 kB / 0.4973 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.366, allocations: 102.8 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.3663, allocations: 106 kB / 0.4975 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004482/0.3668, allocations: 358.9 kB / 0.4978 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.367, allocations: 72.09 kB / 0.4979 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3673, allocations: 140.1 kB / 0.498 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.3676, allocations: 145 kB / 0.4982 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.3676, allocations: 33.47 kB / 0.4982 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3677, allocations: 33.34 kB / 0.4982 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.3678, allocations: 66.97 kB / 0.4983 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.368, allocations: 126.6 kB / 0.4984 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.3684, allocations: 383.9 kB / 0.4988 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3684, allocations: 0 / 0.4988 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3684, allocations: 0 / 0.4988 GB, free: 28.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3684, allocations: 0 / 0.4988 GB, free: 28.59 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.001306/0.3697, allocations: 0.5615 MB / 0.4993 GB, free: 28.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3698, allocations: 9.719 kB / 0.4993 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.37, allocations: 42.61 kB / 0.4994 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3704, allocations: 212.7 kB / 0.4996 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3704, allocations: 24.98 kB / 0.4996 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.3704, allocations: 24.19 kB / 0.4996 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.3711, allocations: 247 kB / 0.4999 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3711, allocations: 0 / 0.4999 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.3712, allocations: 15.06 kB / 0.4999 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.3712, allocations: 6.188 kB / 0.4999 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007748/0.3719, allocations: 229.1 kB / 0.5001 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3738, allocations: 0.7369 MB / 0.5008 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.3746, allocations: 290.8 kB / 0.5011 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.375, allocations: 132.5 kB / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.3751, allocations: 3.219 kB / 0.5012 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3751, allocations: 37.77 kB / 0.5013 GB, free: 27.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/0.3751, allocations: 0 / 0.5013 GB, free: 27.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.007131/0.3822, allocations: 0.9595 MB / 0.5022 GB, free: 26.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3822, allocations: 58.09 kB / 0.5022 GB, free: 26.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3824, allocations: 229.6 kB / 0.5025 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3825, allocations: 29.7 kB / 0.5025 GB, free: 26.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.3825, allocations: 167.2 kB / 0.5027 GB, free: 26.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3826, allocations: 113 kB / 0.5028 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.3827, allocations: 52.98 kB / 0.5028 GB, free: 26.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.3828, allocations: 335.5 kB / 0.5031 GB, free: 25.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.383, allocations: 94.89 kB / 0.5032 GB, free: 25.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.3832, allocations: 128.1 kB / 0.5033 GB, free: 25.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.3836, allocations: 232.1 kB / 0.5036 GB, free: 25.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3836, allocations: 0 / 0.5036 GB, free: 25.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001579/0.3852, allocations: 0.5461 MB / 0.5041 GB, free: 25.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3852, allocations: 6.5 kB / 0.5041 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3852, allocations: 0 / 0.5041 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.3867, allocations: 310 kB / 0.5044 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.3869, allocations: 29.45 kB / 0.5044 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.3925, allocations: 6.308 MB / 0.5106 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3927, allocations: 21.73 kB / 0.5106 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.3927, allocations: 9.094 kB / 0.5106 GB, free: 19.75 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.0001242/0.3928, allocations: 145.3 kB / 0.5108 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.3929, allocations: 32.09 kB / 0.5108 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.3945, allocations: 0.5481 MB / 0.5113 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3945, allocations: 3.125 kB / 0.5113 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3945, allocations: 0 / 0.5113 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3945, allocations: 7.266 kB / 0.5113 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3948, allocations: 246.5 kB / 0.5116 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3948, allocations: 10.42 kB / 0.5116 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3949, allocations: 20.47 kB / 0.5116 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.3963, allocations: 308.5 kB / 0.5119 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3963, allocations: 7.188 kB / 0.5119 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.4018, allocations: 6.352 MB / 0.5181 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4018, allocations: 0.5 kB / 0.5181 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.4035, allocations: 0.6119 MB / 0.5187 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.4035, allocations: 34.88 kB / 0.5187 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.4036, allocations: 6.719 kB / 0.5187 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4038, allocations: 19.91 kB / 0.5188 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.4039, allocations: 30.95 kB / 0.5188 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4039, allocations: 9.688 kB / 0.5188 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.404, allocations: 168.2 kB / 0.519 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.404, allocations: 0 / 0.519 GB, free: 13.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005378/0.4045, allocations: 122.3 kB / 0.5191 GB, free: 12.99 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 8.747e-05/0.4046, allocations: 96.98 kB / 0.5192 GB, free: 12.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.4056, allocations: 0.7454 MB / 0.5199 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4056, allocations: 0 / 0.5199 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.4067, allocations: 0.728 MB / 0.5206 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.407, allocations: 28.89 kB / 0.5206 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.4079, allocations: 0.5575 MB / 0.5212 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.408, allocations: 170.7 kB / 0.5213 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.4081, allocations: 13.36 kB / 0.5214 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.4081, allocations: 14 kB / 0.5214 GB, free: 11.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4081, allocations: 0 / 0.5214 GB, free: 11.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01743/0.4255, allocations: 8.427 MB / 0.5296 GB, free: 10.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.813665220979601]