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.001131/0.001137, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001487/0.001487, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.375/1.375, allocations: 222.9 MB / 243 MB, free: 15.12 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.2206/0.2206, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.81 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1177, allocations: 60.81 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003604/0.1213, allocations: 2.435 MB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1225, allocations: 0.7789 MB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1226, allocations: 4 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1228, allocations: 55.5 kB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.123, allocations: 99.25 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1232, allocations: 99.84 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.1236, allocations: 346.7 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1237, allocations: 104.5 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1239, allocations: 131.6 kB / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1241, allocations: 151.3 kB / 474.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.1242, allocations: 32 kB / 474.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.1242, allocations: 28 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.1243, allocations: 71.75 kB / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1244, allocations: 147.2 kB / 475.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.1247, allocations: 358.7 kB / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1247, allocations: 7.938 kB / 475.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1248, allocations: 0 / 475.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1248, allocations: 0 / 475.5 MB, free: 8.797 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.0009922/0.1258, allocations: 0.6147 MB / 476.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1258, allocations: 12.03 kB / 476.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.1259, allocations: 32.56 kB / 476.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1262, allocations: 259.7 kB / 476.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1262, allocations: 20.94 kB / 476.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.1263, allocations: 16.38 kB / 476.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.1267, allocations: 261.1 kB / 476.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1268, allocations: 0 / 476.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1268, allocations: 12 kB / 476.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1268, allocations: 4 kB / 476.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.1273, allocations: 234.1 kB / 477 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1286, allocations: 0.8674 MB / 477.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.1292, allocations: 302.7 kB / 478.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1294, allocations: 144.8 kB / 478.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.1295, allocations: 11.92 kB / 478.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1295, allocations: 42.55 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.1295, allocations: 0 / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004552/0.1341, allocations: 1.254 MB / 479.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1341, allocations: 51.41 kB / 479.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1344, allocations: 213 kB / 479.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1344, allocations: 29.7 kB / 479.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1345, allocations: 165.1 kB / 480 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.1346, allocations: 106.4 kB / 480.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.1347, allocations: 57.64 kB / 480.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1348, allocations: 334.8 kB / 480.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.135, allocations: 99.94 kB / 480.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1353, allocations: 117.9 kB / 480.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1357, allocations: 231.3 kB / 480.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1357, allocations: 0 / 480.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001726/0.1374, allocations: 0.541 MB / 481.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1375, allocations: 4 kB / 481.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1375, allocations: 4 kB / 481.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.1391, allocations: 311.1 kB / 481.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1393, allocations: 23.98 kB / 481.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007566/0.1469, allocations: 6.824 MB / 488.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1471, allocations: 31.83 kB / 488.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1472, allocations: 12 kB / 488.7 MB, free: 10.69 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.0001516/0.1473, allocations: 149.7 kB / 488.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1474, allocations: 23.72 kB / 488.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.1491, allocations: 0.5473 MB / 489.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1491, allocations: 7.938 kB / 489.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.1491, allocations: 3.938 kB / 489.4 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1492, allocations: 0 / 489.4 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1496, allocations: 353.4 kB / 489.8 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1496, allocations: 8 kB / 489.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.1497, allocations: 23.98 kB / 489.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.1512, allocations: 307.1 kB / 490.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1512, allocations: 8 kB / 490.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.1585, allocations: 6.893 MB / 497 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1585, allocations: 0 / 497 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.1603, allocations: 0.6156 MB / 497.6 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.1603, allocations: 108.6 kB / 497.7 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1604, allocations: 8 kB / 497.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1606, allocations: 11.98 kB / 497.7 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.1607, allocations: 31.95 kB / 497.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1607, allocations: 12 kB / 497.8 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1609, allocations: 152.5 kB / 497.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1609, allocations: 0 / 497.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000501/0.1614, allocations: 119.8 kB / 498 MB, free: 0.6445 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.0001035/0.1615, allocations: 107.4 kB / 498.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1625, allocations: 0.7448 MB / 498.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1625, allocations: 3.938 kB / 498.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.1638, allocations: 0.729 MB / 499.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1641, allocations: 28.42 kB / 499.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.1651, allocations: 0.548 MB / 0.4885 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1655, allocations: 0.7717 MB / 0.4892 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.1655, allocations: 5.969 kB / 0.4892 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.1656, allocations: 11.44 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1656, allocations: 4 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of Templates: time 0.01419/0.1798, allocations: 8.038 MB / 0.4971 GB, free: 5.512 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 -s gbode -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