Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0008683/0.0008683, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.197/1.197, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006946/0.0006947, allocations: 85.41 kB / 271.2 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.2784/0.2784, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09703, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002234/0.0993, allocations: 2.003 MB / 492.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1004, allocations: 0.7645 MB / 493.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.1005, allocations: 4 kB / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1006, allocations: 43.69 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1008, allocations: 79.45 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1011, allocations: 79.83 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1013, allocations: 314.4 kB / 494.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1015, allocations: 81.08 kB / 494.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1017, allocations: 111.6 kB / 494.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1018, allocations: 135.4 kB / 494.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1019, allocations: 16 kB / 494.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.767e-05/0.1019, allocations: 12 kB / 494.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.102, allocations: 47.83 kB / 494.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1021, allocations: 165 kB / 494.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1023, allocations: 263.5 kB / 494.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1023, allocations: 0 / 494.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1023, allocations: 0 / 494.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1023, allocations: 0 / 494.9 MB, free: 6.773 MB / 378.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.0008689/0.1032, allocations: 0.5652 MB / 495.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1032, allocations: 8.031 kB / 495.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.1033, allocations: 32.56 kB / 495.5 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1035, allocations: 259.6 kB / 495.8 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1036, allocations: 24.94 kB / 495.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.1036, allocations: 24.38 kB / 495.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.1041, allocations: 249.2 kB / 496.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1041, allocations: 0 / 496.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1041, allocations: 15.94 kB / 496.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1042, allocations: 7.938 kB / 496.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.1046, allocations: 238.1 kB / 496.3 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.106, allocations: 0.8831 MB / 497.2 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.1065, allocations: 318.2 kB / 497.5 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1068, allocations: 152.8 kB / 497.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.1068, allocations: 4 kB / 497.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1068, allocations: 34.5 kB / 497.7 MB, free: 3.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.1068, allocations: 0 / 497.7 MB, free: 3.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004324/0.1112, allocations: 1.266 MB / 499 MB, free: 2.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1112, allocations: 63.34 kB / 499 MB, free: 2.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1114, allocations: 213 kB / 499.2 MB, free: 2.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1115, allocations: 33.7 kB / 499.3 MB, free: 2.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.1116, allocations: 161.1 kB / 499.4 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.1117, allocations: 102.5 kB / 499.5 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.1117, allocations: 4 kB / 499.5 MB, free: 1.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1118, allocations: 330.8 kB / 499.9 MB, free: 1.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.112, allocations: 111.8 kB / 500 MB, free: 1.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1123, allocations: 125.8 kB / 0.4884 GB, free: 1.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.1127, allocations: 239.3 kB / 0.4886 GB, free: 1.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1127, allocations: 4 kB / 0.4886 GB, free: 1.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001682/0.1144, allocations: 0.5481 MB / 0.4891 GB, free: 492 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1144, allocations: 8 kB / 0.4891 GB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1145, allocations: 7.875 kB / 0.4891 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.116, allocations: 315.1 kB / 0.4894 GB, free: 148 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1162, allocations: 31.91 kB / 0.4895 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1658/0.2821, allocations: 6.317 MB / 0.4956 GB, free: 37.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2823, allocations: 33.02 kB / 0.4957 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2823, allocations: 6.219 kB / 0.4957 GB, free: 37.9 MB / 378.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.0001221/0.2824, allocations: 145.4 kB / 0.4958 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.2825, allocations: 26.94 kB / 0.4958 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.2841, allocations: 0.5526 MB / 0.4964 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2841, allocations: 3.953 kB / 0.4964 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2841, allocations: 0.875 kB / 0.4964 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2842, allocations: 1.922 kB / 0.4964 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.2845, allocations: 366.7 kB / 0.4967 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2845, allocations: 0 / 0.4967 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2846, allocations: 21.23 kB / 0.4968 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.286, allocations: 315.6 kB / 0.4971 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2861, allocations: 8.5 kB / 0.4971 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005376/0.2914, allocations: 6.36 MB / 0.5033 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.2915, allocations: 0 / 0.5033 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.2931, allocations: 0.6327 MB / 0.5039 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.2932, allocations: 105.1 kB / 0.504 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.2932, allocations: 9.734 kB / 0.504 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2934, allocations: 18.08 kB / 0.504 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2935, allocations: 30.33 kB / 0.5041 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2935, allocations: 7.234 kB / 0.5041 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2936, allocations: 160.8 kB / 0.5042 GB, free: 31.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2936, allocations: 0 / 0.5042 GB, free: 31.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004949/0.2941, allocations: 123.2 kB / 0.5043 GB, free: 31.93 MB / 378.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 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 8.294e-05/0.2942, allocations: 97.45 kB / 0.5044 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.2951, allocations: 0.7574 MB / 0.5052 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2951, allocations: 0 / 0.5052 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.2962, allocations: 0.7193 MB / 0.5059 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2965, allocations: 24.88 kB / 0.5059 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.2972, allocations: 0.6688 MB / 0.5065 GB, free: 30.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.2974, allocations: 0.7659 MB / 0.5073 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.2975, allocations: 18.31 kB / 0.5073 GB, free: 29.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2975, allocations: 0 / 0.5073 GB, free: 29.73 MB / 378.7 MB Notification: Performance of Templates: time 0.007492/0.305, allocations: 7.932 MB / 0.5151 GB, free: 29.13 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches