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.001541/0.001541, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.002024/0.002024, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.367/1.367, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.209/0.209, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 73.23 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003786/0.116, allocations: 2.425 MB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1173, allocations: 0.775 MB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1174, allocations: 4 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1176, allocations: 55.52 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1179, allocations: 107.2 kB / 473.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1182, allocations: 95.88 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.1185, allocations: 342.8 kB / 473.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1187, allocations: 92.53 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1189, allocations: 135.5 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1191, allocations: 155.3 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.1192, allocations: 28 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.171e-05/0.1192, allocations: 32 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.1193, allocations: 67.75 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1194, allocations: 147.3 kB / 474.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.1198, allocations: 363 kB / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1198, allocations: 0 / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1198, allocations: 0 / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1198, allocations: 0 / 474.7 MB, free: 9.535 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.00102/0.1208, allocations: 0.6119 MB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1209, allocations: 15.97 kB / 475.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.121, allocations: 32.56 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1212, allocations: 255.7 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.1213, allocations: 20.94 kB / 475.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.1213, allocations: 24.38 kB / 475.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.1218, allocations: 249.2 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1218, allocations: 0 / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1218, allocations: 16 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1218, allocations: 11.94 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.1223, allocations: 230.1 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1237, allocations: 0.8713 MB / 477 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.1242, allocations: 307.3 kB / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.1245, allocations: 144.8 kB / 477.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1246, allocations: 7.984 kB / 477.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1246, allocations: 42.5 kB / 477.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.1246, allocations: 0 / 477.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004438/0.129, allocations: 1.258 MB / 478.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.1291, allocations: 59.34 kB / 478.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1293, allocations: 213 kB / 479.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1294, allocations: 29.7 kB / 479.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1295, allocations: 161.1 kB / 479.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.1296, allocations: 106.4 kB / 479.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.026e-05/0.1297, allocations: 53.64 kB / 479.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1298, allocations: 334.8 kB / 479.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.13, allocations: 99.95 kB / 479.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.1303, allocations: 117.9 kB / 479.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.1307, allocations: 227.3 kB / 480.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1308, allocations: 0 / 480.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001728/0.1325, allocations: 0.545 MB / 480.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1325, allocations: 4 kB / 480.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1325, allocations: 4 kB / 480.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.1341, allocations: 315.1 kB / 481 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1343, allocations: 27.98 kB / 481.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.1414, allocations: 6.825 MB / 487.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1417, allocations: 31.83 kB / 487.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1417, allocations: 8 kB / 487.9 MB, free: 11.42 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.0001801/0.1419, allocations: 149.7 kB / 488.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.1419, allocations: 23.72 kB / 488.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.1437, allocations: 0.5512 MB / 488.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.1437, allocations: 11.92 kB / 488.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1437, allocations: 3.938 kB / 488.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1437, allocations: 0 / 488.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.1442, allocations: 353.2 kB / 489 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1442, allocations: 4 kB / 489 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1443, allocations: 19.98 kB / 489 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.1458, allocations: 311.3 kB / 489.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1458, allocations: 8 kB / 489.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007057/0.1529, allocations: 6.897 MB / 496.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1529, allocations: 0 / 496.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.1546, allocations: 0.6117 MB / 496.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/0.1547, allocations: 112.6 kB / 497 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.1547, allocations: 8 kB / 497 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.1549, allocations: 11.98 kB / 497 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.155, allocations: 31.95 kB / 497 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1551, allocations: 12 kB / 497 MB, free: 1.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1552, allocations: 156.5 kB / 497.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1552, allocations: 0 / 497.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005165/0.1557, allocations: 115.8 kB / 497.3 MB, free: 1.363 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.0001214/0.1559, allocations: 107.2 kB / 497.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.157, allocations: 0.7565 MB / 498.1 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.157, allocations: 3.938 kB / 498.1 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.1582, allocations: 0.7251 MB / 498.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1586, allocations: 24.42 kB / 498.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1598, allocations: 0.5877 MB / 499.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1602, allocations: 0.7717 MB / 0.4885 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.1602, allocations: 11.44 kB / 0.4885 GB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1602, allocations: 0 / 0.4885 GB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01099/0.1712, allocations: 7.985 MB / 0.4963 GB, free: 6.211 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