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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001121/0.001121, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.252/1.252, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2007/0.2007, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.62 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004639/0.1382, allocations: 2.436 MB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1399, allocations: 0.7712 MB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1402, allocations: 4 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1405, allocations: 55.5 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1409, allocations: 99.25 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1412, allocations: 99.84 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.1418, allocations: 342.8 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.142, allocations: 100.5 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.1423, allocations: 135.6 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.1426, allocations: 155.3 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.1428, allocations: 28 kB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.604e-05/0.1429, allocations: 28 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.1429, allocations: 71.75 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1431, allocations: 151.2 kB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1435, allocations: 355 kB / 474.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1435, allocations: 0 / 474.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1435, allocations: 3.938 kB / 474.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1435, allocations: 0 / 474.2 MB, free: 9.441 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.001199/0.1447, allocations: 0.6158 MB / 474.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1448, allocations: 12.03 kB / 474.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.1449, allocations: 58.73 kB / 474.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.818e-05/0.145, allocations: 28.56 kB / 474.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1453, allocations: 263.7 kB / 475.1 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1453, allocations: 20.92 kB / 475.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.1453, allocations: 24.38 kB / 475.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.1459, allocations: 252.9 kB / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1459, allocations: 0 / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.146, allocations: 16 kB / 475.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.146, allocations: 4 kB / 475.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.1465, allocations: 234.1 kB / 475.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.148, allocations: 0.8752 MB / 476.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.1486, allocations: 298.7 kB / 476.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.1489, allocations: 148.8 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.1489, allocations: 11.97 kB / 477 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.149, allocations: 38.56 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.149, allocations: 0 / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004522/0.1535, allocations: 1.25 MB / 478.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1536, allocations: 55.41 kB / 478.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.1539, allocations: 217 kB / 478.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1539, allocations: 29.7 kB / 478.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1541, allocations: 157.1 kB / 478.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.1542, allocations: 110.4 kB / 478.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.1543, allocations: 57.69 kB / 478.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1544, allocations: 334.8 kB / 479.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1546, allocations: 91.95 kB / 479.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.1549, allocations: 121.9 kB / 479.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.1554, allocations: 235.2 kB / 479.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1554, allocations: 0 / 479.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001746/0.1572, allocations: 0.5372 MB / 480.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1572, allocations: 4 kB / 480.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1572, allocations: 4 kB / 480.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.1588, allocations: 307.1 kB / 480.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.159, allocations: 23.98 kB / 480.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.1677, allocations: 6.844 MB / 487.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.1679, allocations: 31.7 kB / 487.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.168, allocations: 12 kB / 487.4 MB, free: 11.25 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.0002102/0.1682, allocations: 141.8 kB / 487.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.1683, allocations: 19.72 kB / 487.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.1701, allocations: 0.5512 MB / 488.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1701, allocations: 8 kB / 488.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1701, allocations: 3.938 kB / 488.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1701, allocations: 0 / 488.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.1707, allocations: 357.1 kB / 488.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.1707, allocations: 4 kB / 488.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1708, allocations: 15.98 kB / 488.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.1725, allocations: 319.2 kB / 488.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.1726, allocations: 4 kB / 488.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009355/0.1819, allocations: 6.893 MB / 495.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.182, allocations: 0 / 495.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.1838, allocations: 0.6156 MB / 496.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1839, allocations: 108.6 kB / 496.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.184, allocations: 12 kB / 496.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1842, allocations: 11.98 kB / 496.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.1844, allocations: 35.94 kB / 496.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1845, allocations: 8 kB / 496.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1847, allocations: 160.5 kB / 496.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1847, allocations: 3.938 kB / 496.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.1853, allocations: 119.8 kB / 496.8 MB, free: 1.195 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.00224/0.1876, allocations: 1.16 MB / 497.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.1889, allocations: 0.7527 MB / 498.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1889, allocations: 4 kB / 498.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.1904, allocations: 0.7251 MB / 499.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1908, allocations: 28.38 kB / 499.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006839/0.1977, allocations: 3.085 MB / 0.4908 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1982, allocations: 0.7678 MB / 0.4915 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.1983, allocations: 13.95 kB / 0.4915 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1984, allocations: 79.41 kB / 0.4916 GB, free: 10.29 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1984, allocations: 0 / 0.4916 GB, free: 10.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2458/0.4442, allocations: 10.59 MB / 0.5019 GB, free: 51.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.14, allocations: 10.17 kB / 0.502 GB, free: 51.12 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > 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