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.001435/0.001435, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.236/2.236, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.001128/0.001128, allocations: 77.38 kB / 271.9 MB, free: 8.285 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.4802/0.4802, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 8 kB / 432.6 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 58.86 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4519, allocations: 88.26 MB / 0.5661 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4522, allocations: 77.19 kB / 0.5662 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.4721, allocations: 6.579 MB / 0.5726 GB, free: 7.574 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4722, allocations: 0 / 0.5726 GB, free: 7.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4722, allocations: 4 kB / 0.5726 GB, free: 7.57 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.0009586/0.4732, allocations: 0.5486 MB / 0.5732 GB, free: 6.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4732, allocations: 15.95 kB / 0.5732 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.4733, allocations: 32.56 kB / 0.5732 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.4738, allocations: 296.1 kB / 0.5735 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4738, allocations: 16.94 kB / 0.5735 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.4738, allocations: 24.38 kB / 0.5735 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.4744, allocations: 245.4 kB / 0.5738 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4744, allocations: 192 / 0.5738 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.4744, allocations: 19.88 kB / 0.5738 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.4744, allocations: 7.938 kB / 0.5738 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.475, allocations: 242.1 kB / 0.574 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.4764, allocations: 0.8821 MB / 0.5749 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.477, allocations: 304.2 kB / 0.5752 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.4773, allocations: 156.8 kB / 0.5753 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.4774, allocations: 10.06 kB / 0.5753 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4774, allocations: 34.56 kB / 0.5754 GB, free: 4.598 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/0.4774, allocations: 0 / 0.5754 GB, free: 4.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.004263/0.4817, allocations: 1.258 MB / 0.5766 GB, free: 3.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.4818, allocations: 55.41 kB / 0.5766 GB, free: 3.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4821, allocations: 213 kB / 0.5768 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.4821, allocations: 33.69 kB / 0.5769 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.4822, allocations: 157.1 kB / 0.577 GB, free: 2.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.4823, allocations: 106.5 kB / 0.5771 GB, free: 2.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.4824, allocations: 4 kB / 0.5771 GB, free: 2.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4825, allocations: 338.8 kB / 0.5775 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.4827, allocations: 97.44 kB / 0.5776 GB, free: 2.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.483, allocations: 129.8 kB / 0.5777 GB, free: 2.086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.4834, allocations: 239.3 kB / 0.5779 GB, free: 1.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4834, allocations: 0 / 0.5779 GB, free: 1.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001688/0.4851, allocations: 0.5566 MB / 0.5784 GB, free: 1.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4852, allocations: 4 kB / 0.5785 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4852, allocations: 0 / 0.5785 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.4868, allocations: 319.1 kB / 0.5788 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.487, allocations: 27.98 kB / 0.5788 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/0.4941, allocations: 6.333 MB / 0.585 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.4944, allocations: 27.83 kB / 0.585 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.4945, allocations: 12 kB / 0.585 GB, free: 10.01 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.0001979/0.4947, allocations: 145.8 kB / 0.5851 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.4947, allocations: 27.72 kB / 0.5852 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.4965, allocations: 0.5589 MB / 0.5857 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4965, allocations: 4 kB / 0.5857 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.4965, allocations: 0 / 0.5857 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4965, allocations: 3.938 kB / 0.5857 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.497, allocations: 357.2 kB / 0.5861 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.497, allocations: 4 kB / 0.5861 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.4971, allocations: 19.98 kB / 0.5861 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.4986, allocations: 311.2 kB / 0.5864 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4986, allocations: 4 kB / 0.5864 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006536/0.5052, allocations: 6.272 MB / 0.5925 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5052, allocations: 0 / 0.5925 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.507, allocations: 0.6273 MB / 0.5931 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.5071, allocations: 112.6 kB / 0.5932 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.5071, allocations: 4 kB / 0.5932 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.5073, allocations: 16.23 kB / 0.5933 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.5075, allocations: 35.95 kB / 0.5933 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.5075, allocations: 8 kB / 0.5933 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.5076, allocations: 160.5 kB / 0.5934 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5076, allocations: 0 / 0.5934 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005533/0.5082, allocations: 119.9 kB / 0.5936 GB, free: 0.5781 MB / 410.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.0001762/0.5084, allocations: 115.1 kB / 0.5937 GB, free: 468 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.5095, allocations: 0.7467 MB / 0.5944 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5095, allocations: 0 / 0.5944 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.5105, allocations: 0.6821 MB / 0.5951 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.5108, allocations: 24.38 kB / 0.5951 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5119, allocations: 0.6611 MB / 0.5957 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.5123, allocations: 0.7794 MB / 0.5965 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.5123, allocations: 15.44 kB / 0.5965 GB, free: 13.39 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5123, allocations: 0 / 0.5965 GB, free: 13.39 MB / 426.7 MB Notification: Performance of Templates: time 0.01044/0.5228, allocations: 8.032 MB / 0.6044 GB, free: 5.355 MB / 426.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/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_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches