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.001699/0.001699, allocations: 106.4 kB / 17.15 MB, free: 6.309 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.002003/0.002003, allocations: 198 kB / 18.07 MB, free: 5.41 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.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001148/0.001149, allocations: 43.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08571, allocations: 46.63 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005344/0.09111, allocations: 4.293 MB / 330.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.0938, allocations: 1.663 MB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.09408, allocations: 12 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.09616, allocations: 0.9574 MB / 333.5 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.09671, allocations: 218.7 kB / 333.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.09818, allocations: 0.7711 MB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.09877, allocations: 0.6065 MB / 335.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.09945, allocations: 485.9 kB / 335.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.09977, allocations: 254.9 kB / 335.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.1001, allocations: 350.5 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.1002, allocations: 48 kB / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.1007, allocations: 251.7 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.1008, allocations: 123.5 kB / 336.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.101, allocations: 314.3 kB / 336.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008569/0.1019, allocations: 0.9305 MB / 337.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1019, allocations: 0 / 337.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1019, allocations: 0 / 337.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1019, allocations: 0 / 337.8 MB, free: 9.594 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.003604/0.1056, allocations: 1.253 MB / 339.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1056, allocations: 12.03 kB / 339.1 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.107, allocations: 207.9 kB / 339.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1072, allocations: 235.5 kB / 339.5 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.1073, allocations: 62.31 kB / 339.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1074, allocations: 76.38 kB / 339.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1087, allocations: 0.774 MB / 340.4 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.1088, allocations: 4 kB / 340.5 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.407e-05/0.1088, allocations: 28 kB / 340.5 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.1089, allocations: 20 kB / 340.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.1102, allocations: 0.6688 MB / 341.2 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.1142, allocations: 3.11 MB / 344.3 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.1165, allocations: 2.074 MB / 346.4 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.1171, allocations: 323.5 kB / 346.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.1173, allocations: 97.73 kB / 346.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1173, allocations: 43.22 kB / 346.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.1173, allocations: 0 / 346.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002673/0.12, allocations: 1.138 MB / 347.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.1201, allocations: 111.5 kB / 348.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1204, allocations: 274.5 kB / 348.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.1204, allocations: 37.7 kB / 348.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1206, allocations: 299.4 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.1208, allocations: 248.4 kB / 348.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.121, allocations: 138.6 kB / 349 MB, free: 13.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1211, allocations: 350.7 kB / 349.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.1216, allocations: 229.9 kB / 349.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.1222, allocations: 390.2 kB / 350 MB, free: 12.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1234, allocations: 0.6414 MB / 350.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1234, allocations: 224 / 350.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001586/0.125, allocations: 0.8226 MB / 351.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.125, allocations: 15.92 kB / 351.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.125, allocations: 4.25 kB / 351.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/0.1255, allocations: 125.6 kB / 351.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.1261, allocations: 163.7 kB / 351.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.1292, allocations: 3.412 MB / 355.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.1298, allocations: 87.16 kB / 355.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.1298, allocations: 35.98 kB / 355.3 MB, free: 6.949 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.0002959/0.1301, allocations: 205.5 kB / 355.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1303, allocations: 39.53 kB / 355.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.1318, allocations: 0.7453 MB / 356.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1318, allocations: 11.98 kB / 356.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1319, allocations: 0 / 356.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1319, allocations: 7.984 kB / 356.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.1343, allocations: 1.493 MB / 357.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1343, allocations: 0 / 357.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.1348, allocations: 119.8 kB / 357.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.1351, allocations: 109.6 kB / 358 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.1352, allocations: 15.98 kB / 358 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.1377, allocations: 3.105 MB / 361.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1378, allocations: 0 / 361.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.1398, allocations: 1.124 MB / 362.2 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1399, allocations: 120.5 kB / 362.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.14, allocations: 16 kB / 362.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1404, allocations: 36.03 kB / 362.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.1406, allocations: 52.58 kB / 362.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.1406, allocations: 16 kB / 362.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.1408, allocations: 194 kB / 362.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1408, allocations: 0 / 362.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000824/0.1416, allocations: 219.4 kB / 362.9 MB, free: 14.94 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.0002585/0.1419, allocations: 143.2 kB / 363 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.1435, allocations: 0.888 MB / 363.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1436, allocations: 0 / 363.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008037/0.1444, allocations: 0.5594 MB / 364.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.1449, allocations: 44.5 kB / 364.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1472, allocations: 1.401 MB / 365.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.1477, allocations: 0.8654 MB / 366.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004336/0.1481, allocations: 88.3 kB / 366.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1482, allocations: 39.42 kB / 366.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1482, allocations: 3.938 kB / 366.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01076/0.159, allocations: 5.829 MB / 372.7 MB, free: 4.973 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