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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 118 kB / 17.09 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 194.5 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.159/3.159, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4394/0.4394, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 69.45 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2082, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.01195/0.2202, allocations: 2.395 MB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.223, allocations: 0.8186 MB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.2234, allocations: 4 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.2238, allocations: 55.52 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006047/0.2245, allocations: 99.23 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.225, allocations: 103.8 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.2258, allocations: 342.8 kB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.2262, allocations: 104.6 kB / 0.4923 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.2266, allocations: 139.5 kB / 0.4925 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.227, allocations: 147.4 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.2271, allocations: 28 kB / 0.4926 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.2272, allocations: 28 kB / 0.4927 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2274, allocations: 67.75 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.2276, allocations: 151.2 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.2282, allocations: 362.7 kB / 0.4932 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2283, allocations: 4 kB / 0.4932 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2283, allocations: 0 / 0.4932 GB, free: 6.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.2283, allocations: 0 / 0.4932 GB, free: 6.98 MB / 382.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.001864/0.2302, allocations: 0.6081 MB / 0.4938 GB, free: 6.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.2302, allocations: 15.83 kB / 0.4938 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2304, allocations: 32.56 kB / 0.4939 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.231, allocations: 263.6 kB / 0.4941 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.231, allocations: 20.94 kB / 0.4941 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.2311, allocations: 24.38 kB / 0.4942 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.232, allocations: 249.2 kB / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2321, allocations: 0 / 0.4944 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.2321, allocations: 15.94 kB / 0.4944 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2322, allocations: 7.938 kB / 0.4944 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.2331, allocations: 234.1 kB / 0.4946 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006752/0.2399, allocations: 0.8598 MB / 0.4955 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.2412, allocations: 310 kB / 0.4958 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/0.2418, allocations: 156.7 kB / 0.4959 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.2419, allocations: 4 kB / 0.4959 GB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.242, allocations: 38.5 kB / 0.496 GB, free: 3.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 6.002e-06/0.242, allocations: 0 / 0.496 GB, free: 3.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.009147/0.2512, allocations: 1.25 MB / 0.4972 GB, free: 2.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.2513, allocations: 59.34 kB / 0.4972 GB, free: 2.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.2518, allocations: 216.9 kB / 0.4974 GB, free: 2.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.2519, allocations: 33.7 kB / 0.4975 GB, free: 2.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.2521, allocations: 157.1 kB / 0.4976 GB, free: 2.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2523, allocations: 106.5 kB / 0.4977 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.2525, allocations: 53.56 kB / 0.4978 GB, free: 1.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2527, allocations: 338.8 kB / 0.4981 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.2531, allocations: 91.95 kB / 0.4982 GB, free: 1.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.2536, allocations: 117.9 kB / 0.4983 GB, free: 1.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.2545, allocations: 239.3 kB / 0.4985 GB, free: 1.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2545, allocations: 0 / 0.4985 GB, free: 1.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0033/0.2579, allocations: 0.5402 MB / 0.4991 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.2579, allocations: 8 kB / 0.4991 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.2579, allocations: 0 / 0.4991 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003287/0.2612, allocations: 315.1 kB / 0.4994 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.2616, allocations: 19.98 kB / 0.4994 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.2745, allocations: 6.816 MB / 0.506 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.275, allocations: 31.86 kB / 0.5061 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.2751, allocations: 12.25 kB / 0.5061 GB, free: 8.867 MB / 398.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.0003257/0.2754, allocations: 149.7 kB / 0.5062 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2755, allocations: 27.62 kB / 0.5063 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.2791, allocations: 0.5551 MB / 0.5068 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.2791, allocations: 4 kB / 0.5068 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.2792, allocations: 3.938 kB / 0.5068 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2792, allocations: 0 / 0.5068 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.28, allocations: 357.3 kB / 0.5071 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.28, allocations: 3.938 kB / 0.5071 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2802, allocations: 19.98 kB / 0.5072 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.2827, allocations: 307.2 kB / 0.5075 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.2827, allocations: 11.98 kB / 0.5075 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.2959, allocations: 6.889 MB / 0.5142 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.296, allocations: 0 / 0.5142 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.2993, allocations: 0.6154 MB / 0.5148 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.2996, allocations: 101 kB / 0.5149 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.2997, allocations: 8 kB / 0.5149 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3001, allocations: 15.98 kB / 0.5149 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.3003, allocations: 43.94 kB / 0.515 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.3004, allocations: 4 kB / 0.515 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.3006, allocations: 160.5 kB / 0.5151 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3007, allocations: 0 / 0.5151 GB, free: 14.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001007/0.3017, allocations: 119.8 kB / 0.5152 GB, free: 14.8 MB / 414.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.000246/0.302, allocations: 103.2 kB / 0.5153 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3041, allocations: 0.7486 MB / 0.5161 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3041, allocations: 4 kB / 0.5161 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.3065, allocations: 0.745 MB / 0.5168 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.3072, allocations: 24.38 kB / 0.5168 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3091, allocations: 0.5659 MB / 0.5174 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.3096, allocations: 0.7678 MB / 0.5181 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.3097, allocations: 15.44 kB / 0.5181 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3097, allocations: 0 / 0.5181 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01887/0.3286, allocations: 7.982 MB / 0.5259 GB, free: 3.664 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches