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.001148/0.001148, allocations: 99.06 kB / 16.95 MB, free: 6.453 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.001054/0.001054, allocations: 186.1 kB / 17.84 MB, free: 6.004 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.605/1.605, allocations: 205.4 MB / 224 MB, free: 13.15 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.000466/0.0004661, allocations: 15.98 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09063, allocations: 47.58 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00415/0.09483, allocations: 3.638 MB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.09748, allocations: 1.536 MB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.09775, allocations: 12 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.09822, allocations: 171.1 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.09878, allocations: 210.7 kB / 333.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1002, allocations: 0.6388 MB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.1009, allocations: 0.5793 MB / 335.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.1025, allocations: 0.8452 MB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.1028, allocations: 227.1 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.1032, allocations: 306.7 kB / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.1033, allocations: 28 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000527/0.1038, allocations: 235.7 kB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1039, allocations: 107.5 kB / 336.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.104, allocations: 129.4 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.1047, allocations: 0.7091 MB / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1047, allocations: 7.938 kB / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1047, allocations: 0 / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1048, allocations: 0 / 337.7 MB, free: 10.66 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.003212/0.108, allocations: 1.143 MB / 338.9 MB, free: 9.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.108, allocations: 16.02 kB / 338.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.1094, allocations: 207 kB / 339.1 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1097, allocations: 238.2 kB / 339.3 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.1097, allocations: 54 kB / 339.4 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.1099, allocations: 80 kB / 339.4 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.1113, allocations: 0.7699 MB / 340.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.1114, allocations: 0 / 340.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.641e-05/0.1114, allocations: 32 kB / 340.2 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1115, allocations: 23.94 kB / 340.3 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.1128, allocations: 0.6805 MB / 340.9 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.1169, allocations: 3.122 MB / 344.1 MB, free: 3.926 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.1193, allocations: 2.089 MB / 346.2 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.12, allocations: 331.5 kB / 346.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.1201, allocations: 98.02 kB / 346.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1202, allocations: 43.16 kB / 346.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.1202, allocations: 0 / 346.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002558/0.1228, allocations: 1.169 MB / 347.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.1228, allocations: 115.4 kB / 347.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.1231, allocations: 274.5 kB / 348.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.1232, allocations: 37.7 kB / 348.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1234, allocations: 291.4 kB / 348.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.1236, allocations: 252.4 kB / 348.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1236, allocations: 16 kB / 348.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1238, allocations: 354.8 kB / 349.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.1243, allocations: 237.9 kB / 349.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.1249, allocations: 390.3 kB / 349.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.1255, allocations: 294.9 kB / 350 MB, free: 13.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1256, allocations: 0 / 350 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00161/0.1272, allocations: 0.8462 MB / 350.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1272, allocations: 8.094 kB / 350.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.1272, allocations: 7.953 kB / 350.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004339/0.1277, allocations: 121.6 kB / 351 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.1283, allocations: 163.8 kB / 351.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.1316, allocations: 3.408 MB / 354.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.1321, allocations: 103.1 kB / 354.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.1322, allocations: 32 kB / 354.7 MB, free: 8.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002868/0.1325, allocations: 205.6 kB / 354.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.1326, allocations: 39.53 kB / 354.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.1342, allocations: 0.7648 MB / 355.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.1342, allocations: 7.984 kB / 355.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1342, allocations: 4.219 kB / 355.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1342, allocations: 7.922 kB / 355.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.1367, allocations: 1.516 MB / 357.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1367, allocations: 3.953 kB / 357.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.1372, allocations: 115.9 kB / 357.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.1375, allocations: 113.6 kB / 357.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.1376, allocations: 20 kB / 357.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.1402, allocations: 3.097 MB / 360.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1402, allocations: 0 / 360.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.1422, allocations: 1.159 MB / 361.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1423, allocations: 132.5 kB / 361.8 MB, free: 0.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.1424, allocations: 12 kB / 361.9 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.1428, allocations: 31.97 kB / 361.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.1429, allocations: 52.58 kB / 361.9 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.1429, allocations: 23.95 kB / 362 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1431, allocations: 198 kB / 362.2 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1431, allocations: 0 / 362.2 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008008/0.1439, allocations: 211.5 kB / 362.4 MB, free: 448 kB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.1442, allocations: 143.1 kB / 362.5 MB, free: 296 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1458, allocations: 0.903 MB / 363.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1458, allocations: 0 / 363.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008293/0.1467, allocations: 0.576 MB / 364 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.1472, allocations: 36.5 kB / 364 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1494, allocations: 1.379 MB / 365.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1498, allocations: 0.8616 MB / 366.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004056/0.1502, allocations: 84.36 kB / 366.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1504, allocations: 43.42 kB / 366.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1504, allocations: 0 / 366.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of Templates: time 0.01114/0.1615, allocations: 5.59 MB / 372 MB, free: 6.715 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