Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.25 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 173 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 10.66 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003477/0.19, allocations: 2.111 MB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1915, allocations: 0.7596 MB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1916, allocations: 4 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1919, allocations: 47.69 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.1921, allocations: 83.44 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1924, allocations: 91.91 kB / 475.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.1928, allocations: 318.8 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.193, allocations: 84.98 kB / 475.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1932, allocations: 115.5 kB / 475.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1934, allocations: 135.3 kB / 476 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.1934, allocations: 16 kB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.1935, allocations: 16 kB / 476 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.1936, allocations: 59.75 kB / 476.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1937, allocations: 157 kB / 476.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.194, allocations: 338.9 kB / 476.6 MB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1941, allocations: 0 / 476.6 MB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1941, allocations: 0 / 476.6 MB, free: 9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1941, allocations: 0 / 476.6 MB, free: 9 MB / 350.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.001012/0.1951, allocations: 0.5691 MB / 477.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1952, allocations: 8.031 kB / 477.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.1953, allocations: 32.56 kB / 477.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1956, allocations: 267.5 kB / 477.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1956, allocations: 20.94 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.1957, allocations: 24.38 kB / 477.5 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.1962, allocations: 249.2 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1962, allocations: 0 / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.1963, allocations: 12 kB / 477.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1963, allocations: 11.98 kB / 477.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005222/0.1968, allocations: 246.1 kB / 478 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1982, allocations: 0.8715 MB / 478.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.1988, allocations: 313.1 kB / 479.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.1991, allocations: 145.3 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.1991, allocations: 11.97 kB / 479.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1992, allocations: 34.56 kB / 479.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.1992, allocations: 4 kB / 479.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004537/0.2037, allocations: 1.277 MB / 480.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.2038, allocations: 55.41 kB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.204, allocations: 217 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.2041, allocations: 29.7 kB / 480.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2042, allocations: 157.1 kB / 481.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.2043, allocations: 110.4 kB / 481.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.2043, allocations: 25.7 kB / 481.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2044, allocations: 334.8 kB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.2047, allocations: 103.9 kB / 481.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.2049, allocations: 125.9 kB / 481.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.2054, allocations: 243.3 kB / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2054, allocations: 0 / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001779/0.2072, allocations: 0.5566 MB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2072, allocations: 8 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2072, allocations: 0 / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.2089, allocations: 319.1 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.2091, allocations: 35.98 kB / 482.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006646/0.2157, allocations: 6.328 MB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.216, allocations: 31.8 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.216, allocations: 11.94 kB / 489.3 MB, free: 11.38 MB / 366.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.0001928/0.2162, allocations: 141.8 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.2163, allocations: 27.66 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.2181, allocations: 0.5619 MB / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2181, allocations: 8 kB / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2181, allocations: 3.938 kB / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2181, allocations: 0 / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.2186, allocations: 361.3 kB / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2186, allocations: 0 / 490.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.2188, allocations: 24.11 kB / 490.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.2203, allocations: 315.2 kB / 490.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.2204, allocations: 4 kB / 490.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007175/0.2276, allocations: 6.369 MB / 497.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2276, allocations: 7.969 kB / 497.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.2294, allocations: 0.636 MB / 497.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.2295, allocations: 100.8 kB / 497.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.2295, allocations: 8 kB / 497.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.2297, allocations: 12 kB / 497.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2298, allocations: 35.88 kB / 497.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.2299, allocations: 12 kB / 497.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.23, allocations: 156.5 kB / 498 MB, free: 1.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.23, allocations: 0 / 498 MB, free: 1.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.2306, allocations: 119.8 kB / 498.2 MB, free: 1.84 MB / 366.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.0001479/0.2308, allocations: 99.25 kB / 498.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.2319, allocations: 0.7523 MB / 499 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.232, allocations: 0 / 499 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.2331, allocations: 0.7251 MB / 499.7 MB, free: 152 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.2335, allocations: 28.36 kB / 499.8 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.2345, allocations: 0.6639 MB / 0.4887 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2348, allocations: 0.7639 MB / 0.4894 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.2349, allocations: 13.95 kB / 0.4895 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2349, allocations: 15.44 kB / 0.4895 GB, free: 14.61 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.235, allocations: 0 / 0.4895 GB, free: 14.61 MB / 382.1 MB Notification: Performance of Templates: time 0.01264/0.2476, allocations: 7.402 MB / 0.4967 GB, free: 7.238 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches