Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 179.7 kB / 16.08 MB, free: 5.484 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008442, allocations: 93.56 kB / 270.8 MB, free: 8.113 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4219/0.4219, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 8 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 58.85 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002517/0.1387, allocations: 2.014 MB / 493.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1399, allocations: 0.7724 MB / 493.9 MB, free: 7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.14, allocations: 3.938 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1402, allocations: 47.7 kB / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1405, allocations: 91.48 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1407, allocations: 75.92 kB / 494.2 MB, free: 6.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.141, allocations: 326.7 kB / 494.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1412, allocations: 85.12 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1414, allocations: 123.5 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.1416, allocations: 131.4 kB / 494.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.1416, allocations: 16 kB / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.1417, allocations: 16 kB / 494.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.1418, allocations: 51.77 kB / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1419, allocations: 156.9 kB / 495 MB, free: 5.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1423, allocations: 342.9 kB / 495.4 MB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1423, allocations: 3.938 kB / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1423, allocations: 0 / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1423, allocations: 0 / 495.4 MB, free: 5.551 MB / 378.7 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.001096/0.1434, allocations: 0.5692 MB / 496 MB, free: 4.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.1435, allocations: 8.031 kB / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.1436, allocations: 32.56 kB / 496 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1439, allocations: 259.6 kB / 496.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.144, allocations: 20.88 kB / 496.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.144, allocations: 28.36 kB / 496.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.1446, allocations: 253.2 kB / 496.5 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1446, allocations: 0 / 496.5 MB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.1446, allocations: 12 kB / 496.6 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1446, allocations: 8 kB / 496.6 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.1451, allocations: 238.1 kB / 496.8 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1466, allocations: 0.8831 MB / 497.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.1472, allocations: 306.7 kB / 498 MB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.1475, allocations: 148.8 kB / 498.1 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1476, allocations: 4 kB / 498.1 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.1476, allocations: 38.55 kB / 498.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.1476, allocations: 0 / 498.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004273/0.1519, allocations: 1.273 MB / 499.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.152, allocations: 59.34 kB / 499.5 MB, free: 1.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1522, allocations: 209 kB / 499.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1523, allocations: 29.7 kB / 499.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1524, allocations: 165 kB / 499.9 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.1525, allocations: 106.5 kB / 500 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.1525, allocations: 8 kB / 0.4883 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1527, allocations: 330.8 kB / 0.4886 GB, free: 308 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.1529, allocations: 99.81 kB / 0.4887 GB, free: 208 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1531, allocations: 129.8 kB / 0.4888 GB, free: 72 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2167/0.3699, allocations: 240.2 kB / 0.489 GB, free: 43.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3699, allocations: 0 / 0.489 GB, free: 43.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001875/0.3718, allocations: 0.5513 MB / 0.4896 GB, free: 43.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3718, allocations: 5.375 kB / 0.4896 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3718, allocations: 1.219 kB / 0.4896 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.3735, allocations: 314.9 kB / 0.4899 GB, free: 43.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3737, allocations: 32.52 kB / 0.4899 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005917/0.3796, allocations: 6.322 MB / 0.4961 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3799, allocations: 30.7 kB / 0.4961 GB, free: 37.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3799, allocations: 8.969 kB / 0.4961 GB, free: 37.94 MB / 378.7 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.0001546/0.38, allocations: 139 kB / 0.4963 GB, free: 37.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3801, allocations: 24.41 kB / 0.4963 GB, free: 37.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.3819, allocations: 0.5636 MB / 0.4968 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.382, allocations: 2.375 kB / 0.4968 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.382, allocations: 1.969 kB / 0.4968 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.382, allocations: 1.219 kB / 0.4968 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.3824, allocations: 361 kB / 0.4972 GB, free: 37.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3824, allocations: 0 / 0.4972 GB, free: 37.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3826, allocations: 26.86 kB / 0.4972 GB, free: 37.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.3841, allocations: 316 kB / 0.4975 GB, free: 37.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3842, allocations: 6.5 kB / 0.4975 GB, free: 37.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/0.39, allocations: 6.359 MB / 0.5037 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.39, allocations: 1.938 kB / 0.5037 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3918, allocations: 0.6303 MB / 0.5044 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3918, allocations: 104.2 kB / 0.5045 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3919, allocations: 8.641 kB / 0.5045 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3921, allocations: 17.81 kB / 0.5045 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3922, allocations: 39.61 kB / 0.5045 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3922, allocations: 4.656 kB / 0.5045 GB, free: 31.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3924, allocations: 156.7 kB / 0.5047 GB, free: 31.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3924, allocations: 3.938 kB / 0.5047 GB, free: 31.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005539/0.3929, allocations: 121.4 kB / 0.5048 GB, free: 31.83 MB / 378.7 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.0001023/0.393, allocations: 113.7 kB / 0.5049 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009355/0.394, allocations: 0.7471 MB / 0.5056 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.394, allocations: 2.812 kB / 0.5056 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.395, allocations: 0.7209 MB / 0.5063 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.3953, allocations: 27 kB / 0.5064 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009104/0.3963, allocations: 0.6634 MB / 0.507 GB, free: 30.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3965, allocations: 0.7714 MB / 0.5078 GB, free: 29.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.547e-05/0.3966, allocations: 10.02 kB / 0.5078 GB, free: 29.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.3966, allocations: 12.56 kB / 0.5078 GB, free: 29.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.264e-06/0.3966, allocations: 0 / 0.5078 GB, free: 29.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01155/0.4082, allocations: 7.41 MB / 0.515 GB, free: 28.96 MB / 378.7 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