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.00169/0.00169, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002151/0.002151, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.196/2.196, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3872/0.3872, allocations: 44.17 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002078, allocations: 64.59 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1745, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.008268/0.1829, allocations: 2.474 MB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1858, allocations: 0.7712 MB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.1864, allocations: 7.938 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.187, allocations: 47.7 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008808/0.188, allocations: 79.5 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.1887, allocations: 87.86 kB / 472.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.1897, allocations: 322.8 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.1901, allocations: 88.97 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.1907, allocations: 131.5 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.1911, allocations: 143.3 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1912, allocations: 20 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1914, allocations: 20 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1915, allocations: 55.77 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.1919, allocations: 139.2 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.1924, allocations: 267.6 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1924, allocations: 4 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1924, allocations: 0 / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.1924, allocations: 0 / 473.8 MB, free: 10.18 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.002308/0.1948, allocations: 0.6158 MB / 474.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.1948, allocations: 8.031 kB / 474.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.195, allocations: 32.56 kB / 474.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.1955, allocations: 267.5 kB / 474.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.1956, allocations: 16.94 kB / 474.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.1957, allocations: 20.38 kB / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009273/0.1967, allocations: 257.2 kB / 475 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1967, allocations: 0 / 475 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.1968, allocations: 7.984 kB / 475 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1968, allocations: 8 kB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.1976, allocations: 230.1 kB / 475.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.2005, allocations: 0.8714 MB / 476.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.2016, allocations: 307.7 kB / 476.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.2021, allocations: 149.3 kB / 476.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.2022, allocations: 7.984 kB / 476.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.2022, allocations: 34.56 kB / 476.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.817e-06/0.2023, allocations: 0 / 476.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.006555/0.2088, allocations: 1.258 MB / 477.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2089, allocations: 55.41 kB / 477.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.2093, allocations: 209 kB / 478.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.2093, allocations: 33.7 kB / 478.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.2095, allocations: 173 kB / 478.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2097, allocations: 102.4 kB / 478.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.2098, allocations: 49.7 kB / 478.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.2101, allocations: 338.8 kB / 478.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.2104, allocations: 91.95 kB / 478.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.2109, allocations: 117.9 kB / 479 MB, free: 4.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.2117, allocations: 243.2 kB / 479.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2117, allocations: 0 / 479.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003109/0.2149, allocations: 0.5449 MB / 479.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.2149, allocations: 4 kB / 479.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2149, allocations: 0 / 479.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/0.2176, allocations: 311.1 kB / 480.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.2178, allocations: 27.95 kB / 480.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.2319, allocations: 6.33 MB / 486.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.2324, allocations: 27.77 kB / 486.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.2325, allocations: 12 kB / 486.5 MB, free: 12.59 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.0003416/0.2328, allocations: 145.8 kB / 486.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.2329, allocations: 23.72 kB / 486.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.2359, allocations: 0.5462 MB / 487.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.2359, allocations: 4 kB / 487.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.2359, allocations: 11.86 kB / 487.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2359, allocations: 0 / 487.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.2367, allocations: 353.3 kB / 487.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2367, allocations: 0 / 487.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2369, allocations: 15.98 kB / 487.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/0.2394, allocations: 311.1 kB / 487.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.2395, allocations: 8 kB / 487.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.2517, allocations: 6.381 MB / 494.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2517, allocations: 0 / 494.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.2546, allocations: 0.6243 MB / 494.9 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2548, allocations: 104.8 kB / 495 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.2549, allocations: 4 kB / 495 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.2552, allocations: 12.25 kB / 495 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.2554, allocations: 35.88 kB / 495.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.2555, allocations: 16 kB / 495.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.2557, allocations: 160.4 kB / 495.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2557, allocations: 0 / 495.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009187/0.2567, allocations: 119.8 kB / 495.4 MB, free: 3.07 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.0002061/0.2569, allocations: 103.2 kB / 495.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.2586, allocations: 0.7328 MB / 496.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.2586, allocations: 0 / 496.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.2605, allocations: 0.7211 MB / 496.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.2612, allocations: 32.3 kB / 496.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.263, allocations: 0.674 MB / 497.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.2636, allocations: 0.7716 MB / 498.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.2637, allocations: 15.44 kB / 498.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2637, allocations: 4 kB / 498.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01804/0.2817, allocations: 7.981 MB / 0.4945 GB, free: 7.863 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/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