Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2432/0.2432, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003127/0.003127, allocations: 88.03 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.178, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004987/0.1831, allocations: 2.49 MB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1849, allocations: 0.8334 MB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.1851, allocations: 7.938 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.1854, allocations: 55.5 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1857, allocations: 111.2 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.186, allocations: 91.81 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.1865, allocations: 358.7 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1867, allocations: 96.95 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.187, allocations: 143.5 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1872, allocations: 159.3 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.1872, allocations: 32 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.1873, allocations: 31.94 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.1874, allocations: 67.75 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.1876, allocations: 163.1 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.188, allocations: 370.7 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.188, allocations: 0 / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1881, allocations: 0 / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1881, allocations: 4 kB / 485.1 MB, free: 220 kB / 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.001277/0.1894, allocations: 0.6275 MB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.1894, allocations: 8.031 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.1896, allocations: 40.47 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.19, allocations: 262.6 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.19, allocations: 20.88 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1901, allocations: 28.36 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.1907, allocations: 253.2 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1907, allocations: 0 / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.1907, allocations: 12 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.1908, allocations: 8 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.1914, allocations: 230.1 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.193, allocations: 0.8831 MB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.1936, allocations: 313.6 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.1939, allocations: 144.8 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.194, allocations: 4 kB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.194, allocations: 38.56 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.194, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004761/0.1988, allocations: 1.265 MB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.1989, allocations: 59.39 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.1992, allocations: 225 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.1993, allocations: 33.7 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/0.1997, allocations: 173.1 kB / 489.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1998, allocations: 102.5 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1999, allocations: 57.61 kB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002868/0.2002, allocations: 334.8 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.2005, allocations: 95.81 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.2008, allocations: 125.8 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.2014, allocations: 236.1 kB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2014, allocations: 0 / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001797/0.2032, allocations: 0.545 MB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2032, allocations: 4 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2032, allocations: 0 / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.2049, allocations: 315.1 kB / 491.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.2051, allocations: 31.92 kB / 491.5 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008898/0.214, allocations: 6.844 MB / 498.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.2143, allocations: 23.86 kB / 498.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2143, allocations: 12 kB / 498.4 MB, free: 2 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.0002149/0.2146, allocations: 145.8 kB / 498.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.2146, allocations: 27.62 kB / 498.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.2165, allocations: 0.5556 MB / 499.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.2165, allocations: 4 kB / 499.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2165, allocations: 3.938 kB / 499.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2165, allocations: 0 / 499.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.217, allocations: 357.3 kB / 499.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.217, allocations: 0 / 499.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.2172, allocations: 15.98 kB / 499.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.2187, allocations: 323.2 kB / 499.8 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.2187, allocations: 4 kB / 499.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008426/0.2272, allocations: 6.912 MB / 0.4948 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.2272, allocations: 0 / 0.4948 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.2291, allocations: 0.6195 MB / 0.4954 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.2293, allocations: 116.6 kB / 0.4956 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.2293, allocations: 11.94 kB / 0.4956 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2295, allocations: 8 kB / 0.4956 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2297, allocations: 31.89 kB / 0.4956 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2297, allocations: 11.98 kB / 0.4956 GB, free: 8.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.2299, allocations: 170 kB / 0.4958 GB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2299, allocations: 8 kB / 0.4958 GB, free: 8.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.2305, allocations: 119.8 kB / 0.4959 GB, free: 7.887 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.0001511/0.2306, allocations: 99.25 kB / 0.496 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.2319, allocations: 0.7565 MB / 0.4967 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2319, allocations: 0 / 0.4967 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.2332, allocations: 0.7367 MB / 0.4974 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2335, allocations: 28.5 kB / 0.4975 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.2346, allocations: 0.5627 MB / 0.498 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.2352, allocations: 0.7756 MB / 0.4988 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.2353, allocations: 9.969 kB / 0.4988 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.2353, allocations: 11.44 kB / 0.4988 GB, free: 4.742 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2353, allocations: 0 / 0.4988 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Templates: time 0.2363/0.4716, allocations: 8.055 MB / 0.5067 GB, free: 38.65 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches