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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 114.7 kB / 17.28 MB, free: 6.219 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.001443/0.001443, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.489/1.489, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001073/0.001074, allocations: 48.14 kB / 280.3 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1014, allocations: 46.64 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006567/0.1081, allocations: 4.285 MB / 331.2 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1111, allocations: 1.663 MB / 332.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.1114, allocations: 12 kB / 332.9 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.1135, allocations: 0.9613 MB / 333.8 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005453/0.1141, allocations: 210.8 kB / 334 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1155, allocations: 0.7399 MB / 334.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.1161, allocations: 0.6299 MB / 335.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.117, allocations: 0.5718 MB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003614/0.1174, allocations: 282.9 kB / 336.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.1178, allocations: 362.6 kB / 336.6 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.1179, allocations: 56 kB / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.1185, allocations: 267.8 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1186, allocations: 143.5 kB / 337.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.1189, allocations: 326.3 kB / 337.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009458/0.1198, allocations: 0.9423 MB / 338.3 MB, free: 9.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1198, allocations: 3.984 kB / 338.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1198, allocations: 0 / 338.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1199, allocations: 0 / 338.3 MB, free: 9.211 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.003515/0.1234, allocations: 1.261 MB / 339.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1234, allocations: 11.97 kB / 339.6 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.1236, allocations: 114.8 kB / 339.7 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.1249, allocations: 207.9 kB / 339.9 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1251, allocations: 247.4 kB / 340.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.1252, allocations: 58.38 kB / 340.2 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1253, allocations: 76.31 kB / 340.3 MB, free: 7.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1266, allocations: 0.77 MB / 341 MB, free: 6.363 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.1267, allocations: 3.984 kB / 341.1 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.1268, allocations: 32 kB / 341.1 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1268, allocations: 24 kB / 341.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1281, allocations: 0.6649 MB / 341.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.1321, allocations: 3.114 MB / 344.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.1345, allocations: 2.07 MB / 347 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.1351, allocations: 323.5 kB / 347.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.1352, allocations: 97.73 kB / 347.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.1353, allocations: 47.44 kB / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.886e-06/0.1353, allocations: 0 / 347.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002488/0.1378, allocations: 1.138 MB / 348.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.1378, allocations: 107.5 kB / 348.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.1382, allocations: 282.5 kB / 348.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.1382, allocations: 37.7 kB / 349 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1384, allocations: 291.4 kB / 349.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1386, allocations: 252.4 kB / 349.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1388, allocations: 130.6 kB / 349.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.139, allocations: 359 kB / 350 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.1395, allocations: 229.9 kB / 350.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.1401, allocations: 386.2 kB / 350.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1412, allocations: 0.6337 MB / 351.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1412, allocations: 0 / 351.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001524/0.1427, allocations: 0.8383 MB / 352.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.1427, allocations: 8 kB / 352.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1428, allocations: 4 kB / 352.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.1432, allocations: 129.6 kB / 352.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.1438, allocations: 155.8 kB / 352.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.147, allocations: 3.793 MB / 356.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.1476, allocations: 83.17 kB / 356.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/0.1476, allocations: 35.98 kB / 356.3 MB, free: 6.039 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.0002915/0.1479, allocations: 201.7 kB / 356.4 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.148, allocations: 43.47 kB / 356.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.1496, allocations: 0.753 MB / 357.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.1496, allocations: 11.94 kB / 357.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1496, allocations: 4 kB / 357.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1496, allocations: 7.922 kB / 357.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.1522, allocations: 1.485 MB / 358.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1522, allocations: 0 / 358.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.1527, allocations: 115.9 kB / 358.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003107/0.153, allocations: 109.6 kB / 359 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.1531, allocations: 19.98 kB / 359 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.1559, allocations: 3.349 MB / 362.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1559, allocations: 0 / 362.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.1578, allocations: 1.128 MB / 363.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1579, allocations: 128.4 kB / 363.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.158, allocations: 12 kB / 363.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.1583, allocations: 31.91 kB / 363.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1585, allocations: 52.58 kB / 363.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.1585, allocations: 20 kB / 363.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1587, allocations: 194 kB / 363.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1587, allocations: 4 kB / 363.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000815/0.1596, allocations: 215.5 kB / 364.1 MB, free: 13.76 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.002335/0.1619, allocations: 1.696 MB / 365.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.1639, allocations: 0.9153 MB / 366.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.164, allocations: 3.938 kB / 366.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007954/0.1648, allocations: 0.5635 MB / 367.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.1653, allocations: 40.56 kB / 367.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.1724, allocations: 5.063 MB / 372.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1728, allocations: 0.8696 MB / 373.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004/0.1732, allocations: 84.3 kB / 373.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.1735, allocations: 207.3 kB / 373.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1735, allocations: 0 / 373.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1843/0.3578, allocations: 10.37 MB / 383.9 MB, free: 53.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003788/0.3583, allocations: 255.9 kB / 384.2 MB, free: 53.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.539, allocations: 3.75 kB / 384.2 MB, free: 53.64 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > 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","../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