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.001478/0.001477, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.924/1.924, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00107/0.001069, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2792/0.2792, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.748e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5128/0.6254, allocations: 88.14 MB / 0.5589 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.6258, allocations: 70.22 kB / 0.5589 GB, free: 15.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0348/0.6606, allocations: 6.577 MB / 0.5654 GB, free: 9.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6607, allocations: 0 / 0.5654 GB, free: 9.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.6607, allocations: 8 kB / 0.5654 GB, free: 9.895 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.00128/0.662, allocations: 0.5206 MB / 0.5659 GB, free: 9.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6621, allocations: 8.031 kB / 0.5659 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.6622, allocations: 39.61 kB / 0.5659 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/0.6628, allocations: 276.8 kB / 0.5662 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.6629, allocations: 19.56 kB / 0.5662 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.663, allocations: 22.75 kB / 0.5662 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.6636, allocations: 224.4 kB / 0.5664 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6637, allocations: 0 / 0.5664 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.6637, allocations: 10.81 kB / 0.5664 GB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.6637, allocations: 8 kB / 0.5665 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.6643, allocations: 205 kB / 0.5666 GB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.6666, allocations: 0.8871 MB / 0.5675 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.6678, allocations: 316 kB / 0.5678 GB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.6682, allocations: 137.3 kB / 0.5679 GB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.972e-05/0.6683, allocations: 11.92 kB / 0.568 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6683, allocations: 46.02 kB / 0.568 GB, free: 7.559 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/0.6683, allocations: 0 / 0.568 GB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.002968/0.6713, allocations: 498.4 kB / 0.5685 GB, free: 7.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.6714, allocations: 55.41 kB / 0.5685 GB, free: 7.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.6717, allocations: 190.7 kB / 0.5687 GB, free: 6.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.6718, allocations: 35.58 kB / 0.5687 GB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.672, allocations: 216.3 kB / 0.569 GB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6721, allocations: 105 kB / 0.5691 GB, free: 6.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.6721, allocations: 3.688 kB / 0.5691 GB, free: 6.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6723, allocations: 322.5 kB / 0.5694 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.6725, allocations: 80.98 kB / 0.5694 GB, free: 6.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.6728, allocations: 106.8 kB / 0.5695 GB, free: 6.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.6731, allocations: 93.62 kB / 0.5696 GB, free: 6.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6732, allocations: 0 / 0.5696 GB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002925/0.6761, allocations: 0.5065 MB / 0.5701 GB, free: 5.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6762, allocations: 4 kB / 0.5701 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6762, allocations: 3.938 kB / 0.5701 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.679, allocations: 313.8 kB / 0.5704 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.6794, allocations: 31.97 kB / 0.5705 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.6902, allocations: 6.357 MB / 0.5767 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.6907, allocations: 30.33 kB / 0.5767 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.6907, allocations: 8 kB / 0.5767 GB, free: 15.07 MB / 394.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 () * 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.0001389/0.6909, allocations: 123.4 kB / 0.5768 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.691, allocations: 27.62 kB / 0.5769 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.6938, allocations: 0.5135 MB / 0.5774 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.6939, allocations: 4 kB / 0.5774 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6939, allocations: 0 / 0.5774 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.6939, allocations: 7.984 kB / 0.5774 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.6946, allocations: 359.5 kB / 0.5777 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6946, allocations: 0 / 0.5777 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.6949, allocations: 31.89 kB / 0.5777 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/0.6976, allocations: 320.5 kB / 0.578 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.6977, allocations: 3.375 kB / 0.578 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.7081, allocations: 6.291 MB / 0.5842 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7081, allocations: 0 / 0.5842 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.711, allocations: 0.5979 MB / 0.5848 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.7112, allocations: 100.8 kB / 0.5849 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.7113, allocations: 11.94 kB / 0.5849 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.7116, allocations: 14.67 kB / 0.5849 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.7119, allocations: 34.97 kB / 0.5849 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.7119, allocations: 10.81 kB / 0.5849 GB, free: 6.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002293/0.7121, allocations: 157.4 kB / 0.5851 GB, free: 6.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7122, allocations: 0 / 0.5851 GB, free: 6.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007435/0.7129, allocations: 121.2 kB / 0.5852 GB, free: 6.734 MB / 394.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 () * 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.0002107/0.7131, allocations: 117.6 kB / 0.5853 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.7146, allocations: 0.7068 MB / 0.586 GB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7146, allocations: 0 / 0.586 GB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.716, allocations: 0.6529 MB / 0.5866 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.7164, allocations: 13.44 kB / 0.5867 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.7176, allocations: 374.6 kB / 0.587 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.7181, allocations: 0.7794 MB / 0.5878 GB, free: 4.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.7182, allocations: 11.44 kB / 0.5878 GB, free: 4.145 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7182, allocations: 8 kB / 0.5878 GB, free: 4.137 MB / 394.7 MB Notification: Performance of Templates: time 0.01609/0.7343, allocations: 7.706 MB / 0.5953 GB, free: 12.46 MB / 410.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