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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 95.08 kB / 16.3 MB, free: 6.457 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.001354/0.001354, allocations: 184.5 kB / 17.19 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002397/0.0002398, allocations: 5.281 kB / 300.7 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.08809, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.003451/0.09158, allocations: 3.437 MB / 354.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.0935, allocations: 1.512 MB / 356.1 MB, free: 6.727 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.09366, allocations: 12 kB / 356.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.09402, allocations: 175 kB / 356.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.09444, allocations: 235.3 kB / 356.5 MB, free: 6.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.0956, allocations: 0.6492 MB / 357.2 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.09603, allocations: 451 kB / 357.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.09733, allocations: 0.8177 MB / 358.4 MB, free: 4.375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.09764, allocations: 227.1 kB / 358.6 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.09797, allocations: 298.8 kB / 358.9 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.09803, allocations: 28 kB / 359 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.09844, allocations: 211.8 kB / 359.2 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.09853, allocations: 107.5 kB / 359.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.09864, allocations: 133.4 kB / 359.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.09929, allocations: 0.7088 MB / 360.1 MB, free: 2.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.0993, allocations: 0 / 360.1 MB, free: 2.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09931, allocations: 4 kB / 360.1 MB, free: 2.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.09933, allocations: 0 / 360.1 MB, free: 2.668 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.003297/0.1026, allocations: 1.151 MB / 361.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1027, allocations: 8.031 kB / 361.3 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.104, allocations: 211 kB / 361.5 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1042, allocations: 234.1 kB / 361.7 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.523e-05/0.1043, allocations: 57.94 kB / 361.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1044, allocations: 79.94 kB / 361.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1056, allocations: 0.7737 MB / 362.6 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1056, allocations: 0 / 362.6 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.1057, allocations: 32 kB / 362.6 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1057, allocations: 16 kB / 362.7 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.107, allocations: 0.6806 MB / 363.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/0.1108, allocations: 3.122 MB / 366.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.1129, allocations: 2.072 MB / 368.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.113, allocations: 97.73 kB / 368.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.113, allocations: 47.22 kB / 368.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.113, allocations: 0 / 368.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002415/0.1155, allocations: 1.143 MB / 369.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1155, allocations: 119.5 kB / 369.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.1158, allocations: 270.5 kB / 370.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1158, allocations: 37.7 kB / 370.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.116, allocations: 299.4 kB / 370.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.1162, allocations: 244.4 kB / 370.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1162, allocations: 16 kB / 370.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1163, allocations: 350.8 kB / 371.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.1168, allocations: 241.9 kB / 371.4 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.1174, allocations: 394.2 kB / 371.7 MB, free: 6.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.1179, allocations: 291 kB / 372 MB, free: 5.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.118, allocations: 4 kB / 372 MB, free: 5.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00149/0.1195, allocations: 0.8423 MB / 372.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1195, allocations: 4 kB / 372.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1195, allocations: 4.219 kB / 372.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.1199, allocations: 121.7 kB / 373 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.1205, allocations: 167.7 kB / 373.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.1229, allocations: 3.167 MB / 376.3 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.1234, allocations: 95.23 kB / 376.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.1235, allocations: 35.98 kB / 376.5 MB, free: 1.176 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 (88): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0002475/0.1237, allocations: 197.7 kB / 376.7 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.1238, allocations: 43.48 kB / 376.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.1253, allocations: 0.7532 MB / 377.5 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1253, allocations: 4 kB / 377.5 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1253, allocations: 7.938 kB / 377.5 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1253, allocations: 7.922 kB / 377.5 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.1275, allocations: 1.445 MB / 378.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1275, allocations: 0 / 378.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/0.128, allocations: 119.8 kB / 379 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/0.1283, allocations: 105.6 kB / 379.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.1283, allocations: 19.98 kB / 379.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002293/0.1306, allocations: 3.16 MB / 382.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1307, allocations: 4.031 kB / 382.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.1325, allocations: 1.169 MB / 383.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.1326, allocations: 132.4 kB / 383.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.1326, allocations: 12 kB / 383.6 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.133, allocations: 31.98 kB / 383.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1332, allocations: 56.52 kB / 383.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.1332, allocations: 19.98 kB / 383.7 MB, free: 9.492 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1334, allocations: 194 kB / 383.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1334, allocations: 0 / 383.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006656/0.134, allocations: 211.5 kB / 384.1 MB, free: 9.098 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 (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.0002302/0.1343, allocations: 151.7 kB / 384.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.1357, allocations: 0.8952 MB / 385.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1357, allocations: 0 / 385.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007582/0.1365, allocations: 0.5721 MB / 385.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1368, allocations: 44.23 kB / 385.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1387, allocations: 1.36 MB / 387.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1391, allocations: 0.8772 MB / 388 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.1395, allocations: 80.36 kB / 388.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1396, allocations: 43.42 kB / 388.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1396, allocations: 0 / 388.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of Templates: time 0.009441/0.149, allocations: 5.531 MB / 393.7 MB, free: 15.45 MB / 334.1 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