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.001129/0.001129, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 203.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4476/0.4476, allocations: 43.49 MB / 313.5 MB, free: 8.242 MB / 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.00162/0.00162, allocations: 66.56 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1703, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004321/0.1747, allocations: 2.446 MB / 442.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1761, allocations: 0.8032 MB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1763, allocations: 4 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1766, allocations: 47.7 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1768, allocations: 87.42 kB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1771, allocations: 79.92 kB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.1774, allocations: 330.7 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.1776, allocations: 85.11 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.1779, allocations: 119.6 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1781, allocations: 143.4 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.752e-05/0.1781, allocations: 23.94 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.1782, allocations: 20 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.1783, allocations: 51.81 kB / 444 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1784, allocations: 147.1 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.1788, allocations: 351 kB / 444.5 MB, free: 9.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1788, allocations: 4 kB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1788, allocations: 0 / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1788, allocations: 0 / 444.5 MB, free: 9.879 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.001297/0.1801, allocations: 0.6081 MB / 445.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1802, allocations: 8.031 kB / 445.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.1803, allocations: 32.56 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1806, allocations: 263.6 kB / 445.4 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1807, allocations: 16.94 kB / 445.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.1807, allocations: 28.38 kB / 445.5 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.1813, allocations: 257.1 kB / 445.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1813, allocations: 0 / 445.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.1813, allocations: 8 kB / 445.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1814, allocations: 8 kB / 445.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.1819, allocations: 230.1 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1835, allocations: 0.8715 MB / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.1841, allocations: 310.6 kB / 447.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.1844, allocations: 148.7 kB / 447.3 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.047e-05/0.1844, allocations: 11.98 kB / 447.3 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.1845, allocations: 30.56 kB / 447.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.473e-06/0.1845, allocations: 0 / 447.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004843/0.1894, allocations: 1.258 MB / 448.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1894, allocations: 55.41 kB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1897, allocations: 216.9 kB / 448.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1898, allocations: 33.7 kB / 448.9 MB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1899, allocations: 157.2 kB / 449 MB, free: 5.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.19, allocations: 110.4 kB / 449.1 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1901, allocations: 53.55 kB / 449.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1903, allocations: 338.8 kB / 449.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.1905, allocations: 91.95 kB / 449.6 MB, free: 4.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1908, allocations: 121.8 kB / 449.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.1913, allocations: 235.2 kB / 450 MB, free: 4.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1913, allocations: 0 / 450 MB, free: 4.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001821/0.1931, allocations: 0.548 MB / 450.5 MB, free: 3.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1931, allocations: 4 kB / 450.5 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1931, allocations: 0 / 450.5 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.1949, allocations: 315.1 kB / 450.8 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1951, allocations: 19.98 kB / 450.8 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3141/0.5092, allocations: 6.32 MB / 457.2 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.5095, allocations: 25.81 kB / 457.2 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.5096, allocations: 13.78 kB / 457.2 MB, free: 45.46 MB / 382.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.000213/0.5098, allocations: 149.6 kB / 457.3 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.5099, allocations: 27.38 kB / 457.4 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.5116, allocations: 0.5435 MB / 457.9 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5116, allocations: 6.969 kB / 457.9 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5116, allocations: 1.062 kB / 457.9 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5117, allocations: 7.625 kB / 457.9 MB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.5121, allocations: 349.1 kB / 458.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5121, allocations: 2.906 kB / 458.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.5122, allocations: 26.06 kB / 458.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.5137, allocations: 312.4 kB / 458.6 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.5137, allocations: 7.062 kB / 458.6 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.5194, allocations: 6.374 MB / 465 MB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.5194, allocations: 3.938 kB / 465 MB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.5212, allocations: 0.6201 MB / 465.6 MB, free: 39.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.5213, allocations: 106.4 kB / 465.7 MB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.5214, allocations: 10.31 kB / 465.7 MB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.5216, allocations: 13.05 kB / 465.7 MB, free: 39.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.5218, allocations: 34.81 kB / 465.8 MB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5218, allocations: 2.844 kB / 465.8 MB, free: 39.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.522, allocations: 160.4 kB / 465.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.522, allocations: 0 / 465.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.5227, allocations: 120.9 kB / 466.1 MB, free: 39.47 MB / 382.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.0001773/0.5229, allocations: 106.3 kB / 466.2 MB, free: 39.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.5241, allocations: 0.7404 MB / 466.9 MB, free: 38.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5241, allocations: 0 / 466.9 MB, free: 38.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5253, allocations: 0.7246 MB / 467.6 MB, free: 38.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.5257, allocations: 25.81 kB / 467.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5269, allocations: 0.6482 MB / 468.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5273, allocations: 0.7702 MB / 469.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.502e-05/0.5274, allocations: 12.23 kB / 469.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.5275, allocations: 12.66 kB / 469.1 MB, free: 37.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5275, allocations: 0 / 469.1 MB, free: 37.15 MB / 382.1 MB Notification: Performance of Templates: time 0.01175/0.5392, allocations: 7.478 MB / 476.6 MB, free: 36.66 MB / 382.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/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