Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 179.9 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009187/0.0009188, allocations: 89.05 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3634/0.3634, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 12 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 58.83 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4645, allocations: 88.27 MB / 0.5661 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4649, allocations: 70.56 kB / 0.5662 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01811/0.483, allocations: 6.59 MB / 0.5726 GB, free: 6.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.483, allocations: 4 kB / 0.5727 GB, free: 6.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.4831, allocations: 4 kB / 0.5727 GB, free: 6.93 MB / 394.7 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.001105/0.4842, allocations: 0.5486 MB / 0.5732 GB, free: 6.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4842, allocations: 12.03 kB / 0.5732 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.4844, allocations: 36.56 kB / 0.5732 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.4849, allocations: 284.1 kB / 0.5735 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.4849, allocations: 28.88 kB / 0.5735 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.485, allocations: 24.38 kB / 0.5736 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.4855, allocations: 249.4 kB / 0.5738 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4855, allocations: 4.125 kB / 0.5738 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.4856, allocations: 11.94 kB / 0.5738 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.4856, allocations: 8 kB / 0.5738 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.4861, allocations: 242.1 kB / 0.574 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4877, allocations: 0.8782 MB / 0.5749 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.4883, allocations: 305.2 kB / 0.5752 GB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.4886, allocations: 152.7 kB / 0.5753 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.4886, allocations: 10.11 kB / 0.5754 GB, free: 4.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4887, allocations: 42.56 kB / 0.5754 GB, free: 3.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.4887, allocations: 0 / 0.5754 GB, free: 3.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.004192/0.4929, allocations: 1.251 MB / 0.5766 GB, free: 2.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.493, allocations: 55.41 kB / 0.5767 GB, free: 2.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4932, allocations: 213 kB / 0.5769 GB, free: 2.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4932, allocations: 29.7 kB / 0.5769 GB, free: 2.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4934, allocations: 169.1 kB / 0.5771 GB, free: 2.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.4935, allocations: 102.5 kB / 0.5772 GB, free: 2.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.4935, allocations: 4 kB / 0.5772 GB, free: 2.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4936, allocations: 334.8 kB / 0.5775 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.4938, allocations: 97.44 kB / 0.5776 GB, free: 1.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.4941, allocations: 133.8 kB / 0.5777 GB, free: 1.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.4946, allocations: 243.2 kB / 0.5779 GB, free: 1.211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4946, allocations: 4 kB / 0.5779 GB, free: 1.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001718/0.4963, allocations: 0.5411 MB / 0.5785 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4963, allocations: 10.48 kB / 0.5785 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4963, allocations: 4 kB / 0.5785 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.4979, allocations: 315.2 kB / 0.5788 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4981, allocations: 35.91 kB / 0.5788 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/0.5053, allocations: 6.33 MB / 0.585 GB, free: 9.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.5056, allocations: 27.86 kB / 0.585 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.5057, allocations: 8 kB / 0.585 GB, free: 9.379 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.5059, allocations: 149.8 kB / 0.5852 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.5059, allocations: 19.72 kB / 0.5852 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.5077, allocations: 0.559 MB / 0.5857 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5077, allocations: 4 kB / 0.5857 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5077, allocations: 0 / 0.5857 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5077, allocations: 7.922 kB / 0.5857 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.5082, allocations: 361.2 kB / 0.5861 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.5082, allocations: 3.984 kB / 0.5861 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5084, allocations: 23.98 kB / 0.5861 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.5098, allocations: 311.3 kB / 0.5864 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.5099, allocations: 8 kB / 0.5864 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006647/0.5165, allocations: 6.264 MB / 0.5925 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5165, allocations: 4.062 kB / 0.5925 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.5183, allocations: 0.6273 MB / 0.5932 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.5184, allocations: 108.6 kB / 0.5933 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.5184, allocations: 8 kB / 0.5933 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.5186, allocations: 15.98 kB / 0.5933 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5187, allocations: 31.95 kB / 0.5933 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.5188, allocations: 12 kB / 0.5933 GB, free: 216 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.5189, allocations: 156.5 kB / 0.5935 GB, free: 64 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5189, allocations: 0 / 0.5935 GB, free: 64 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005518/0.5195, allocations: 112 kB / 0.5936 GB, free: 15.95 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.5197, allocations: 119.1 kB / 0.5937 GB, free: 15.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.5209, allocations: 0.7506 MB / 0.5944 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5209, allocations: 0 / 0.5944 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.5218, allocations: 0.682 MB / 0.5951 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.5222, allocations: 24.38 kB / 0.5951 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.5232, allocations: 0.6425 MB / 0.5957 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.5236, allocations: 0.7717 MB / 0.5965 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.738e-05/0.5237, allocations: 9.953 kB / 0.5965 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.5237, allocations: 11.44 kB / 0.5965 GB, free: 12.78 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5238, allocations: 0 / 0.5965 GB, free: 12.78 MB / 426.7 MB Notification: Performance of Templates: time 0.01367/0.5374, allocations: 7.47 MB / 0.6038 GB, free: 5.34 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches