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.001449/0.001449, allocations: 183.2 kB / 15.76 MB, free: 6.367 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.862/1.862, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009371/0.0009373, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2449/0.2449, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1664, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.6152, allocations: 88.23 MB / 0.5649 GB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.6157, allocations: 74.66 kB / 0.565 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01807/0.6337, allocations: 6.596 MB / 0.5714 GB, free: 5.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6338, allocations: 0 / 0.5714 GB, free: 5.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.6338, allocations: 4 kB / 0.5714 GB, free: 5.945 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.0009488/0.6348, allocations: 0.5456 MB / 0.572 GB, free: 5.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6348, allocations: 12.03 kB / 0.572 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.6349, allocations: 31.62 kB / 0.572 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.6355, allocations: 286.9 kB / 0.5723 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.6356, allocations: 19.81 kB / 0.5723 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.6357, allocations: 22.88 kB / 0.5723 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007879/0.6365, allocations: 243.1 kB / 0.5725 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.6365, allocations: 0 / 0.5725 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.6366, allocations: 16.06 kB / 0.5726 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6366, allocations: 4 kB / 0.5726 GB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.6374, allocations: 241.2 kB / 0.5728 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.6395, allocations: 0.8936 MB / 0.5737 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6408, allocations: 338.2 kB / 0.574 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.6409, allocations: 7.984 kB / 0.574 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.6409, allocations: 45.36 kB / 0.574 GB, free: 3.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/0.6409, allocations: 0 / 0.574 GB, free: 3.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.006846/0.6478, allocations: 1.237 MB / 0.5753 GB, free: 2.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.6479, allocations: 55.41 kB / 0.5753 GB, free: 2.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.6482, allocations: 186.2 kB / 0.5755 GB, free: 2.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.6483, allocations: 28.89 kB / 0.5755 GB, free: 2.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.6485, allocations: 162.4 kB / 0.5757 GB, free: 2.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6486, allocations: 108.4 kB / 0.5758 GB, free: 1.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.6486, allocations: 6.875 kB / 0.5758 GB, free: 1.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.6488, allocations: 341.3 kB / 0.5761 GB, free: 1.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.6492, allocations: 93.95 kB / 0.5762 GB, free: 1.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.6495, allocations: 126.1 kB / 0.5763 GB, free: 1.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.6499, allocations: 117.2 kB / 0.5764 GB, free: 1.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6499, allocations: 0 / 0.5764 GB, free: 1.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002555/0.6525, allocations: 0.541 MB / 0.5769 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.6525, allocations: 14.61 kB / 0.577 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.6525, allocations: 3.938 kB / 0.577 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.6549, allocations: 316.5 kB / 0.5773 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.6551, allocations: 35.97 kB / 0.5773 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009742/0.6649, allocations: 6.388 MB / 0.5835 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.6653, allocations: 39.58 kB / 0.5836 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.6654, allocations: 7.875 kB / 0.5836 GB, free: 10.29 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 () * 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.0002541/0.6656, allocations: 144.2 kB / 0.5837 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.6657, allocations: 23.72 kB / 0.5837 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.6683, allocations: 0.5638 MB / 0.5843 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6684, allocations: 4 kB / 0.5843 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6684, allocations: 3.938 kB / 0.5843 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6684, allocations: 7.984 kB / 0.5843 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006148/0.669, allocations: 361.8 kB / 0.5847 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.669, allocations: 0 / 0.5847 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.6692, allocations: 19.98 kB / 0.5847 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.6714, allocations: 317 kB / 0.585 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.6714, allocations: 11.05 kB / 0.585 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00954/0.681, allocations: 6.347 MB / 0.5912 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.681, allocations: 0.625 kB / 0.5912 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.6835, allocations: 0.6301 MB / 0.5918 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6837, allocations: 104.7 kB / 0.5919 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.6837, allocations: 7.25 kB / 0.5919 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.684, allocations: 17.36 kB / 0.5919 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.6842, allocations: 34.83 kB / 0.592 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.6842, allocations: 14.89 kB / 0.592 GB, free: 2.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002433/0.6845, allocations: 158.6 kB / 0.5921 GB, free: 1.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6845, allocations: 0 / 0.5921 GB, free: 1.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.6854, allocations: 120.2 kB / 0.5922 GB, free: 1.848 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 () * 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.0002356/0.6856, allocations: 110.5 kB / 0.5923 GB, free: 1.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.6871, allocations: 0.7522 MB / 0.5931 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6872, allocations: 0 / 0.5931 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.6885, allocations: 0.6706 MB / 0.5937 GB, free: 380 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.6889, allocations: 23 kB / 0.5938 GB, free: 368 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.6905, allocations: 0.6223 MB / 0.5944 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.6911, allocations: 0.7833 MB / 0.5951 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.6912, allocations: 13.94 kB / 0.5951 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.6913, allocations: 15.44 kB / 0.5952 GB, free: 14.91 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6913, allocations: 4 kB / 0.5952 GB, free: 14.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01808/0.7094, allocations: 7.453 MB / 0.6024 GB, free: 7.488 MB / 410.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/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_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches