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.001101/0.001101, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001035/0.001035, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.302/1.302, allocations: 205.1 MB / 225 MB, free: 12.3 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.001101/0.001101, allocations: 47.92 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08955, allocations: 46.63 MB / 328 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005345/0.09494, allocations: 4.287 MB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.09811, allocations: 1.675 MB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.0986, allocations: 12 kB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1011, allocations: 1.023 MB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000854/0.102, allocations: 246.2 kB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1036, allocations: 0.7979 MB / 336 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007421/0.1043, allocations: 0.6299 MB / 336.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.1051, allocations: 0.521 MB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.1055, allocations: 274.9 kB / 337.4 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.1058, allocations: 354.5 kB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.492e-05/0.1059, allocations: 56 kB / 337.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.1065, allocations: 271.7 kB / 338.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1067, allocations: 139.5 kB / 338.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.107, allocations: 334.3 kB / 338.6 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000991/0.1079, allocations: 0.9383 MB / 339.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.108, allocations: 0 / 339.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.108, allocations: 0 / 339.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.108, allocations: 4 kB / 339.5 MB, free: 8.859 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.003535/0.1115, allocations: 1.26 MB / 340.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1116, allocations: 8.031 kB / 340.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.1129, allocations: 211.9 kB / 341 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1131, allocations: 247.4 kB / 341.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.1132, allocations: 54.38 kB / 341.3 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1133, allocations: 80.31 kB / 341.3 MB, free: 6.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1146, allocations: 0.7702 MB / 342.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.1147, allocations: 0 / 342.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.944e-05/0.1148, allocations: 32 kB / 342.1 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1148, allocations: 20 kB / 342.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.1161, allocations: 0.6649 MB / 342.8 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.1201, allocations: 3.11 MB / 345.9 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.1223, allocations: 2.07 MB / 348 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.123, allocations: 327.5 kB / 348.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.1231, allocations: 97.73 kB / 348.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.1231, allocations: 47.5 kB / 348.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.087e-06/0.1232, allocations: 7.938 kB / 348.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002528/0.1257, allocations: 1.126 MB / 349.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1258, allocations: 115.5 kB / 349.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.1261, allocations: 278.5 kB / 350 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.1261, allocations: 37.7 kB / 350 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1263, allocations: 291.5 kB / 350.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1265, allocations: 248.4 kB / 350.6 MB, free: 13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.1267, allocations: 134.6 kB / 350.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1268, allocations: 350.7 kB / 351 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.1273, allocations: 233.8 kB / 351.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.1279, allocations: 390.3 kB / 351.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.129, allocations: 0.6298 MB / 352.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.129, allocations: 4 kB / 352.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001546/0.1305, allocations: 0.8308 MB / 353.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1306, allocations: 8 kB / 353.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.1306, allocations: 7.938 kB / 353.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.131, allocations: 129.7 kB / 353.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.1317, allocations: 155.8 kB / 353.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.1349, allocations: 3.805 MB / 357.2 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.1355, allocations: 91.09 kB / 357.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.1356, allocations: 35.98 kB / 357.3 MB, free: 5.809 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.0002847/0.1359, allocations: 197.7 kB / 357.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.136, allocations: 39.53 kB / 357.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.1375, allocations: 0.7491 MB / 358.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1375, allocations: 4 kB / 358.3 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1375, allocations: 4 kB / 358.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1375, allocations: 3.984 kB / 358.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.1399, allocations: 1.497 MB / 359.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1399, allocations: 0 / 359.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.1404, allocations: 119.9 kB / 359.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.1407, allocations: 101.7 kB / 360 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.1408, allocations: 19.98 kB / 360 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.1433, allocations: 3.349 MB / 363.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1434, allocations: 0 / 363.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.1453, allocations: 1.12 MB / 364.5 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1454, allocations: 124.5 kB / 364.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.1455, allocations: 19.91 kB / 364.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.1459, allocations: 31.97 kB / 364.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.146, allocations: 56.52 kB / 364.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.1461, allocations: 16 kB / 364.8 MB, free: 13.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1463, allocations: 202 kB / 365 MB, free: 13.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 365 MB, free: 13.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000808/0.1471, allocations: 207.5 kB / 365.2 MB, free: 13.55 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.0002465/0.1473, allocations: 139.2 kB / 365.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.1493, allocations: 0.9108 MB / 366.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1493, allocations: 0 / 366.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008093/0.1501, allocations: 0.5642 MB / 366.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.1507, allocations: 49.75 kB / 366.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1529, allocations: 1.153 MB / 368 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.1533, allocations: 0.8655 MB / 368.8 MB, free: 9.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.1535, allocations: 55.41 kB / 368.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1535, allocations: 0 / 368.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of Templates: time 0.1579/0.3114, allocations: 11.46 MB / 380.3 MB, free: 52.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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