Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.001292/0.001292, allocations: 175.1 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005689/0.0005691, allocations: 12 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09392, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004473/0.09845, allocations: 3.857 MB / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1013, allocations: 1.656 MB / 334.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.1016, allocations: 16 kB / 334.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.1022, allocations: 223.1 kB / 334.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006781/0.1029, allocations: 214.7 kB / 334.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.1044, allocations: 0.7478 MB / 335.7 MB, free: 13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.1051, allocations: 0.6065 MB / 336.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.1067, allocations: 0.9232 MB / 337.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.107, allocations: 238.9 kB / 337.4 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1074, allocations: 314.6 kB / 337.7 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.1074, allocations: 28 kB / 337.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.1079, allocations: 239.8 kB / 338 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.664e-05/0.108, allocations: 115.5 kB / 338.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1082, allocations: 316 kB / 338.4 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.1091, allocations: 0.911 MB / 339.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1092, allocations: 0 / 339.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1092, allocations: 0 / 339.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.1092, allocations: 0 / 339.3 MB, free: 9.301 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003399/0.1126, allocations: 1.136 MB / 340.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1126, allocations: 15.97 kB / 340.5 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.114, allocations: 211.9 kB / 340.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1142, allocations: 235.4 kB / 340.9 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.1143, allocations: 62.36 kB / 341 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1144, allocations: 72.38 kB / 341.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1158, allocations: 0.7818 MB / 341.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.1158, allocations: 4 kB / 341.8 MB, free: 6.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.1159, allocations: 32 kB / 341.9 MB, free: 6.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.1159, allocations: 20 kB / 341.9 MB, free: 6.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1173, allocations: 0.6844 MB / 342.6 MB, free: 5.949 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.1212, allocations: 3.126 MB / 345.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.1236, allocations: 2.085 MB / 347.8 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.1242, allocations: 331.6 kB / 348.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.1244, allocations: 97.75 kB / 348.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1244, allocations: 39.22 kB / 348.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.1244, allocations: 4 kB / 348.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002618/0.127, allocations: 1.185 MB / 349.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1271, allocations: 115.5 kB / 349.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.1274, allocations: 274.5 kB / 349.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.1275, allocations: 37.7 kB / 349.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1276, allocations: 291.4 kB / 350.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.1278, allocations: 248.4 kB / 350.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.1279, allocations: 69.69 kB / 350.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.128, allocations: 350.7 kB / 350.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.1286, allocations: 242.1 kB / 351 MB, free: 12.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.1292, allocations: 394.2 kB / 351.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1304, allocations: 0.6649 MB / 352.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1304, allocations: 4 kB / 352.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0016/0.132, allocations: 0.854 MB / 352.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1321, allocations: 8 kB / 352.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1321, allocations: 4 kB / 352.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.1325, allocations: 121.7 kB / 353.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.1332, allocations: 167.7 kB / 353.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/0.1364, allocations: 3.411 MB / 356.6 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.137, allocations: 103.2 kB / 356.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.137, allocations: 31.98 kB / 356.8 MB, free: 6.652 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.1373, allocations: 205.5 kB / 357 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.1374, allocations: 39.53 kB / 357 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.139, allocations: 0.7726 MB / 357.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.139, allocations: 8 kB / 357.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.139, allocations: 0 / 357.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.139, allocations: 3.984 kB / 357.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.1415, allocations: 1.512 MB / 359.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1415, allocations: 4 kB / 359.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.1421, allocations: 123.8 kB / 359.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.1424, allocations: 105.7 kB / 359.5 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.1424, allocations: 15.98 kB / 359.6 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.1451, allocations: 3.116 MB / 362.7 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1451, allocations: 8.094 kB / 362.7 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.1471, allocations: 1.151 MB / 363.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1472, allocations: 124.5 kB / 364 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.1473, allocations: 19.98 kB / 364 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.1477, allocations: 31.98 kB / 364 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.1478, allocations: 56.64 kB / 364.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.1479, allocations: 19.98 kB / 364.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1481, allocations: 194 kB / 364.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 364.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008312/0.1489, allocations: 215.5 kB / 364.5 MB, free: 14.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000293/0.1492, allocations: 147 kB / 364.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1509, allocations: 0.9147 MB / 365.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1509, allocations: 0 / 365.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/0.1518, allocations: 0.5682 MB / 366.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.1523, allocations: 36.56 kB / 366.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1548, allocations: 1.442 MB / 367.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.1554, allocations: 0.8655 MB / 368.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.1558, allocations: 88.28 kB / 368.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1559, allocations: 47.42 kB / 368.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1559, allocations: 0 / 368.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of Templates: time 0.01184/0.1678, allocations: 5.732 MB / 374.3 MB, free: 4.598 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches