Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 176.8 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.0008331, allocations: 92.42 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.125e-05/1.129e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08761, allocations: 50.41 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2958/0.3835, allocations: 81.82 MB / 469.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.3838, allocations: 87.94 kB / 469.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0475/0.4313, allocations: 20.54 MB / 489.9 MB, free: 8.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4314, allocations: 0 / 489.9 MB, free: 8.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.4314, allocations: 12 kB / 489.9 MB, free: 8.125 MB / 362.7 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.002517/0.4339, allocations: 0.9715 MB / 490.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.434, allocations: 8.031 kB / 490.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.4353, allocations: 214.9 kB / 491.1 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.4355, allocations: 242.5 kB / 491.4 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.4355, allocations: 24 kB / 491.4 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.4356, allocations: 44 kB / 491.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009438/0.4366, allocations: 0.5741 MB / 492 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.4376, allocations: 0.6177 MB / 492.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.4377, allocations: 0 / 492.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.4377, allocations: 3.953 kB / 492.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.4377, allocations: 20 kB / 492.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.4417, allocations: 3.023 MB / 495.7 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.4436, allocations: 2.006 MB / 497.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.444, allocations: 272.2 kB / 497.9 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.4442, allocations: 105.8 kB / 498 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4442, allocations: 43.34 kB / 498.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.4442, allocations: 0 / 498.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001497/0.4457, allocations: 0.6769 MB / 498.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4458, allocations: 111.6 kB / 498.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.446, allocations: 220.4 kB / 499.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.4461, allocations: 25.7 kB / 499.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.4463, allocations: 295.5 kB / 499.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.4465, allocations: 232.4 kB / 499.6 MB, free: 13.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.4465, allocations: 0 / 499.6 MB, free: 13.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4467, allocations: 350.8 kB / 500 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.447, allocations: 194.5 kB / 0.4884 GB, free: 13.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.4474, allocations: 334.6 kB / 0.4887 GB, free: 12.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/0.4482, allocations: 368.3 kB / 0.4891 GB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4482, allocations: 4 kB / 0.4891 GB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001567/0.4498, allocations: 0.8137 MB / 0.4899 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4498, allocations: 9.234 kB / 0.4899 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4498, allocations: 4 kB / 0.4899 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.4502, allocations: 129.7 kB / 0.49 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.4509, allocations: 167.7 kB / 0.4902 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.4537, allocations: 3.277 MB / 0.4934 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.4542, allocations: 75.16 kB / 0.4935 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.4543, allocations: 32 kB / 0.4935 GB, free: 7.648 MB / 378.7 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 () * 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.000162/0.4545, allocations: 126.9 kB / 0.4936 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.4546, allocations: 35.62 kB / 0.4936 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.4562, allocations: 0.7675 MB / 0.4944 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.4562, allocations: 8 kB / 0.4944 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4562, allocations: 4 kB / 0.4944 GB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4562, allocations: 8.203 kB / 0.4944 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.4588, allocations: 1.43 MB / 0.4958 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4588, allocations: 3.938 kB / 0.4958 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.4593, allocations: 115.9 kB / 0.4959 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.4596, allocations: 106.1 kB / 0.496 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.4596, allocations: 7.984 kB / 0.496 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.462, allocations: 2.978 MB / 0.4989 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.462, allocations: 0 / 0.4989 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.4638, allocations: 1.13 MB / 0.5 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.464, allocations: 124.5 kB / 0.5002 GB, free: 464 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.464, allocations: 4 kB / 0.5002 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.4644, allocations: 19.98 kB / 0.5002 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4646, allocations: 56.77 kB / 0.5002 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.4646, allocations: 19.98 kB / 0.5003 GB, free: 364 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4648, allocations: 168.5 kB / 0.5004 GB, free: 200 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4648, allocations: 0 / 0.5004 GB, free: 200 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007845/0.4656, allocations: 187.5 kB / 0.5006 GB, free: 12 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.0002494/0.4658, allocations: 144.2 kB / 0.5007 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.467, allocations: 0.77 MB / 0.5015 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.467, allocations: 4 kB / 0.5015 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.4676, allocations: 0.5032 MB / 0.502 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4679, allocations: 24.06 kB / 0.502 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.4696, allocations: 0.7891 MB / 0.5028 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.4701, allocations: 0.8775 MB / 0.5036 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000421/0.4705, allocations: 80.33 kB / 0.5037 GB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4706, allocations: 43.42 kB / 0.5038 GB, free: 12.68 MB / 394.7 MB Notification: Performance of SimCode: time 5.42e-07/0.4706, allocations: 0 / 0.5038 GB, free: 12.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01118/0.4818, allocations: 5.294 MB / 0.5089 GB, free: 7.406 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches