Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 76.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003542/0.1274, allocations: 2.483 MB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1287, allocations: 0.8412 MB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1288, allocations: 0 / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.129, allocations: 51.52 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.1293, allocations: 115.2 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1296, allocations: 99.86 kB / 485.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1299, allocations: 354.7 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1301, allocations: 96.69 kB / 485.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.1304, allocations: 135.5 kB / 485.6 MB, free: 348 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1306, allocations: 163.2 kB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.1306, allocations: 31.94 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.1307, allocations: 35.98 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1307, allocations: 71.75 kB / 485.9 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1309, allocations: 151.2 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1312, allocations: 382.6 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1313, allocations: 0 / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1313, allocations: 4 kB / 486.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1313, allocations: 0 / 486.5 MB, free: 15.52 MB / 366.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.001058/0.1323, allocations: 0.6235 MB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1324, allocations: 8.031 kB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.1325, allocations: 44.47 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1329, allocations: 270.6 kB / 487.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1329, allocations: 16.94 kB / 487.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.133, allocations: 28.38 kB / 487.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.1335, allocations: 249.1 kB / 487.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1335, allocations: 4 kB / 487.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.1335, allocations: 8 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1336, allocations: 8 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.1341, allocations: 234.1 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.1355, allocations: 0.8754 MB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.1361, allocations: 309.8 kB / 489.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.1363, allocations: 144.8 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.1364, allocations: 11.98 kB / 489.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1364, allocations: 30.56 kB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.1364, allocations: 0 / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004401/0.1408, allocations: 1.269 MB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1409, allocations: 59.39 kB / 490.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.1411, allocations: 229 kB / 490.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1412, allocations: 29.7 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1413, allocations: 165.1 kB / 491 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.1413, allocations: 102.5 kB / 491.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.1414, allocations: 61.55 kB / 491.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1416, allocations: 334.8 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.1418, allocations: 103.8 kB / 491.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.142, allocations: 122.7 kB / 491.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.1424, allocations: 236.1 kB / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1424, allocations: 0 / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001691/0.1441, allocations: 0.5489 MB / 492.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1442, allocations: 7.938 kB / 492.5 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.1442, allocations: 4 kB / 492.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.1458, allocations: 315.1 kB / 492.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.146, allocations: 23.97 kB / 492.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/0.1531, allocations: 6.832 MB / 499.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1534, allocations: 28.17 kB / 499.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1534, allocations: 16 kB / 499.7 MB, free: 1.305 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.000162/0.1536, allocations: 141.7 kB / 499.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.1536, allocations: 27.62 kB / 499.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.1553, allocations: 0.5556 MB / 0.4887 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1553, allocations: 4 kB / 0.4887 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1553, allocations: 3.938 kB / 0.4887 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1554, allocations: 3.984 kB / 0.4887 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1557, allocations: 357.3 kB / 0.4891 GB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1557, allocations: 4 kB / 0.4891 GB, free: 148 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1559, allocations: 19.98 kB / 0.4891 GB, free: 128 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.1573, allocations: 307.2 kB / 0.4894 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.1574, allocations: 11.98 kB / 0.4894 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007152/0.1645, allocations: 6.897 MB / 0.4961 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1646, allocations: 0 / 0.4961 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.1662, allocations: 0.6273 MB / 0.4968 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.1663, allocations: 116.5 kB / 0.4969 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1664, allocations: 4 kB / 0.4969 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1666, allocations: 15.98 kB / 0.4969 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1667, allocations: 35.95 kB / 0.4969 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1667, allocations: 4 kB / 0.4969 GB, free: 7.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1669, allocations: 174 kB / 0.4971 GB, free: 7.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1669, allocations: 3.938 kB / 0.4971 GB, free: 7.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.1674, allocations: 119.8 kB / 0.4972 GB, free: 7.203 MB / 382.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.0001317/0.1675, allocations: 103.2 kB / 0.4973 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1686, allocations: 0.7526 MB / 0.498 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1686, allocations: 4.062 kB / 0.498 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.1699, allocations: 0.7289 MB / 0.4988 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1702, allocations: 20.56 kB / 0.4988 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.1712, allocations: 0.5526 MB / 0.4993 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1715, allocations: 0.7756 MB / 0.5001 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.007e-05/0.1716, allocations: 17.94 kB / 0.5001 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1716, allocations: 11.44 kB / 0.5001 GB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1716, allocations: 0 / 0.5001 GB, free: 4.074 MB / 382.1 MB Notification: Performance of Templates: time 0.2272/0.3988, allocations: 8.076 MB / 0.508 GB, free: 38.7 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches