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.00167/0.00167, allocations: 100.6 kB / 17.58 MB, free: 5.418 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.002386/0.002386, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.391/1.391, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001438/0.001438, allocations: 51.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09464, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005622/0.1003, allocations: 4.278 MB / 331.7 MB, free: 60 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.1034, allocations: 1.682 MB / 333.4 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1039, allocations: 12 kB / 333.4 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.1064, allocations: 1.023 MB / 334.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007959/0.1072, allocations: 246.2 kB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1089, allocations: 0.8018 MB / 335.4 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009557/0.1098, allocations: 0.63 MB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1109, allocations: 0.5094 MB / 336.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.1114, allocations: 274.9 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005585/0.112, allocations: 358.5 kB / 337.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.1121, allocations: 56 kB / 337.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.1129, allocations: 271.8 kB / 337.5 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.113, allocations: 143.5 kB / 337.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.1135, allocations: 334.3 kB / 338 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1146, allocations: 0.9422 MB / 338.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1146, allocations: 0 / 338.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1146, allocations: 0 / 338.9 MB, free: 8.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.1146, allocations: 0 / 338.9 MB, free: 8.777 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.003802/0.1184, allocations: 1.257 MB / 340.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1185, allocations: 11.97 kB / 340.2 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.1186, allocations: 122.8 kB / 340.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.1199, allocations: 211.9 kB / 340.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1202, allocations: 239.3 kB / 340.8 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.1202, allocations: 58.38 kB / 340.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.1204, allocations: 72.38 kB / 340.9 MB, free: 6.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.1217, allocations: 0.7778 MB / 341.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.1218, allocations: 0 / 341.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.1218, allocations: 35.98 kB / 341.7 MB, free: 5.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.1219, allocations: 16 kB / 341.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.1232, allocations: 0.661 MB / 342.4 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.1278, allocations: 3.122 MB / 345.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.1303, allocations: 2.074 MB / 347.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.131, allocations: 319.5 kB / 347.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.1312, allocations: 101.7 kB / 348 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.1312, allocations: 39.22 kB / 348 MB, free: 14.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.867e-06/0.1313, allocations: 0 / 348 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002741/0.134, allocations: 1.145 MB / 349.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.1341, allocations: 111.5 kB / 349.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.1345, allocations: 274.5 kB / 349.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.1346, allocations: 33.7 kB / 349.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1348, allocations: 299.4 kB / 349.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.135, allocations: 244.5 kB / 350.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.1352, allocations: 134.6 kB / 350.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1353, allocations: 358.7 kB / 350.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.1358, allocations: 225.9 kB / 350.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.1365, allocations: 394.2 kB / 351.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.1377, allocations: 0.6222 MB / 351.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.1377, allocations: 8 kB / 351.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001664/0.1394, allocations: 0.8382 MB / 352.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1394, allocations: 4 kB / 352.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1394, allocations: 4 kB / 352.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.1399, allocations: 129.7 kB / 352.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.1405, allocations: 163.8 kB / 352.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.1441, allocations: 3.793 MB / 356.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.1447, allocations: 91.11 kB / 356.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.1448, allocations: 27.98 kB / 356.9 MB, free: 5.609 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.0003349/0.1451, allocations: 205.6 kB / 357.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.1453, allocations: 39.53 kB / 357.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.1469, allocations: 0.7493 MB / 357.8 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1469, allocations: 4 kB / 357.9 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1469, allocations: 4 kB / 357.9 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.1469, allocations: 7.922 kB / 357.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.1495, allocations: 1.497 MB / 359.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1495, allocations: 0 / 359.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.15, allocations: 119.8 kB / 359.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.1503, allocations: 105.6 kB / 359.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.1503, allocations: 16 kB / 359.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.1532, allocations: 3.345 MB / 362.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1533, allocations: 0 / 362.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.1552, allocations: 1.124 MB / 364.1 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1553, allocations: 124.4 kB / 364.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.1554, allocations: 20 kB / 364.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.1558, allocations: 36.03 kB / 364.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1559, allocations: 52.58 kB / 364.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.156, allocations: 16 kB / 364.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.1562, allocations: 194 kB / 364.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1562, allocations: 0 / 364.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008911/0.1571, allocations: 215.5 kB / 364.7 MB, free: 13.34 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.002427/0.1595, allocations: 1.712 MB / 366.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.1617, allocations: 0.9146 MB / 367.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1617, allocations: 0 / 367.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008238/0.1625, allocations: 0.5603 MB / 367.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.163, allocations: 36.56 kB / 367.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/0.1708, allocations: 4.809 MB / 372.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.1715, allocations: 0.8655 MB / 373.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004469/0.172, allocations: 84.36 kB / 373.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.1723, allocations: 203.3 kB / 373.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1723, allocations: 0 / 373.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/0.3509, allocations: 10.5 MB / 384.4 MB, free: 53.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.199/9.55, allocations: 3.766 kB / 384.4 MB, free: 53.45 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","/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