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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 118.3 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 202.3 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 207.6 MB / 232.5 MB, free: 3.934 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 48.36 kB / 343 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09562, allocations: 49.13 MB / 392.1 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005853/0.1015, allocations: 4.313 MB / 396.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.1044, allocations: 1.698 MB / 398.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1046, allocations: 12 kB / 398.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.1068, allocations: 1.023 MB / 399.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.1073, allocations: 258.2 kB / 399.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1088, allocations: 0.7592 MB / 400.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007476/0.1096, allocations: 0.6417 MB / 400.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007002/0.1103, allocations: 405.4 kB / 401.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.1107, allocations: 282.8 kB / 401.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.1111, allocations: 354.5 kB / 401.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.1112, allocations: 56 kB / 401.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.1117, allocations: 271.7 kB / 402.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1118, allocations: 143.5 kB / 402.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1121, allocations: 322.4 kB / 402.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1132, allocations: 0.9611 MB / 403.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1132, allocations: 4 kB / 403.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1132, allocations: 0 / 403.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1132, allocations: 0 / 403.6 MB, free: 13.2 MB / 334.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.003636/0.1168, allocations: 1.271 MB / 404.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1169, allocations: 23.95 kB / 404.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.756e-05/0.1169, allocations: 18.19 kB / 404.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.117, allocations: 122.7 kB / 405 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.1184, allocations: 212.3 kB / 405.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1186, allocations: 239.5 kB / 405.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.1187, allocations: 54.38 kB / 405.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.1188, allocations: 72.38 kB / 405.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.1202, allocations: 0.7698 MB / 406.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1202, allocations: 7.891 kB / 406.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.1203, allocations: 32 kB / 406.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1203, allocations: 16 kB / 406.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.1217, allocations: 0.6727 MB / 407.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004267/0.126, allocations: 3.092 MB / 410.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.1285, allocations: 2.015 MB / 412.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.1291, allocations: 287.5 kB / 412.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.1292, allocations: 101.7 kB / 412.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1293, allocations: 39.22 kB / 412.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.1293, allocations: 0 / 412.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002692/0.1319, allocations: 1.146 MB / 413.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.503e-05/0.132, allocations: 107.5 kB / 413.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.1323, allocations: 270.5 kB / 414.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.1324, allocations: 41.7 kB / 414.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.1326, allocations: 308.3 kB / 414.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.1328, allocations: 253.8 kB / 414.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.133, allocations: 138.6 kB / 414.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1332, allocations: 354.7 kB / 415.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1338, allocations: 229.9 kB / 415.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.1344, allocations: 386.2 kB / 415.8 MB, free: 128 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.1356, allocations: 0.6376 MB / 416.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1356, allocations: 0 / 416.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001661/0.1373, allocations: 0.8306 MB / 417.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1373, allocations: 4 kB / 417.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1373, allocations: 4.219 kB / 417.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.1377, allocations: 133.8 kB / 417.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.1384, allocations: 159.7 kB / 417.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.1421, allocations: 3.801 MB / 421.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.1427, allocations: 91.44 kB / 421.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.1427, allocations: 28 kB / 421.5 MB, free: 10.09 MB / 350.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.0002908/0.143, allocations: 201.7 kB / 421.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1431, allocations: 43.75 kB / 421.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.1448, allocations: 0.7414 MB / 422.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/0.1448, allocations: 8 kB / 422.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1448, allocations: 4 kB / 422.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1448, allocations: 11.92 kB / 422.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.1474, allocations: 1.477 MB / 423.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1474, allocations: 4 kB / 424 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.1479, allocations: 111.8 kB / 424.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/0.1483, allocations: 113.6 kB / 424.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.1483, allocations: 12 kB / 424.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.1515, allocations: 3.357 MB / 427.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1515, allocations: 0 / 427.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.1536, allocations: 1.117 MB / 428.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.1538, allocations: 132.7 kB / 428.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.1538, allocations: 12 kB / 428.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.1542, allocations: 32.05 kB / 428.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.1544, allocations: 52.58 kB / 428.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.1544, allocations: 19.98 kB / 428.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1546, allocations: 194 kB / 429.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1546, allocations: 0 / 429.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000848/0.1555, allocations: 219.6 kB / 429.3 MB, free: 1.832 MB / 350.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.002591/0.1581, allocations: 1.712 MB / 431 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.1599, allocations: 0.8406 MB / 431.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1599, allocations: 0 / 431.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.1608, allocations: 0.533 MB / 432.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.1613, allocations: 48.39 kB / 432.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.1691, allocations: 4.793 MB / 437.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.1697, allocations: 0.8616 MB / 438.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003447/0.17, allocations: 88.3 kB / 438.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.1703, allocations: 195.4 kB / 438.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1703, allocations: 0 / 438.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.2115, allocations: 10.84 MB / 449.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.7, allocations: 4.062 kB / 449.2 MB, free: 13.55 MB / 382.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.170040740980767]