Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.92 MB / 349.6 MB, free: 1.805 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.28 kB / 491.8 MB, free: 30.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1139, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004113/0.118, allocations: 2.455 MB / 0.5454 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1194, allocations: 0.7751 MB / 0.5461 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1195, allocations: 4 kB / 0.5462 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1197, allocations: 59.5 kB / 0.5462 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.12, allocations: 91.27 kB / 0.5463 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1203, allocations: 103.8 kB / 0.5464 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1207, allocations: 346.4 kB / 0.5467 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1209, allocations: 68.94 kB / 0.5468 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1211, allocations: 139.5 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1213, allocations: 155.3 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.1214, allocations: 32 kB / 0.5471 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.1214, allocations: 28 kB / 0.5471 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.1215, allocations: 63.77 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1216, allocations: 155.2 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.1221, allocations: 362.4 kB / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1221, allocations: 0 / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1221, allocations: 4 kB / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1221, allocations: 0 / 0.5477 GB, free: 15.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001203/0.1233, allocations: 0.6195 MB / 0.5483 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1233, allocations: 8.031 kB / 0.5483 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.1234, allocations: 58.67 kB / 0.5484 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.1235, allocations: 36.7 kB / 0.5484 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1239, allocations: 263.8 kB / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1239, allocations: 20.94 kB / 0.5487 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.1239, allocations: 24.38 kB / 0.5487 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.1245, allocations: 245 kB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1245, allocations: 3.938 kB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1245, allocations: 12 kB / 0.5489 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1245, allocations: 7.938 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.1251, allocations: 234.1 kB / 0.5492 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1266, allocations: 0.8638 MB / 0.55 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.1272, allocations: 284.4 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1275, allocations: 124.8 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1275, allocations: 7.984 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1275, allocations: 38.5 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.1275, allocations: 0 / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004922/0.1324, allocations: 1.246 MB / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1325, allocations: 59.34 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1328, allocations: 213 kB / 0.5519 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1328, allocations: 33.7 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.133, allocations: 165.3 kB / 0.5521 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1331, allocations: 115 kB / 0.5522 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1332, allocations: 49.7 kB / 0.5523 GB, free: 10.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1334, allocations: 334.8 kB / 0.5526 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.1336, allocations: 91.95 kB / 0.5527 GB, free: 9.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.1339, allocations: 121.8 kB / 0.5528 GB, free: 9.719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.1344, allocations: 231.3 kB / 0.553 GB, free: 9.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1344, allocations: 0 / 0.553 GB, free: 9.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001955/0.1363, allocations: 0.5411 MB / 0.5535 GB, free: 8.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1363, allocations: 8 kB / 0.5535 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1363, allocations: 3.938 kB / 0.5536 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.1381, allocations: 315.1 kB / 0.5539 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.1383, allocations: 23.98 kB / 0.5539 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/0.1467, allocations: 6.843 MB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.1469, allocations: 23.91 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.147, allocations: 8 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.1471, allocations: 145.7 kB / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1472, allocations: 27.81 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.1491, allocations: 0.5395 MB / 0.5613 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1491, allocations: 4 kB / 0.5613 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1491, allocations: 3.938 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1491, allocations: 4 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1496, allocations: 361.3 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1496, allocations: 0 / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1497, allocations: 16.17 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.1513, allocations: 315.1 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1513, allocations: 8 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008656/0.16, allocations: 6.89 MB / 0.5687 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.16, allocations: 0 / 0.5687 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.1619, allocations: 0.6157 MB / 0.5693 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.1619, allocations: 104.8 kB / 0.5694 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.162, allocations: 12 kB / 0.5694 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1622, allocations: 11.98 kB / 0.5694 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.1623, allocations: 35.89 kB / 0.5694 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1623, allocations: 8 kB / 0.5695 GB, free: 7.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1625, allocations: 160.5 kB / 0.5696 GB, free: 7.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1625, allocations: 0 / 0.5696 GB, free: 7.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.163, allocations: 123.8 kB / 0.5697 GB, free: 7.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/0.1652, allocations: 1.153 MB / 0.5709 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1664, allocations: 0.7447 MB / 0.5716 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1664, allocations: 0 / 0.5716 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.1678, allocations: 0.7211 MB / 0.5723 GB, free: 4.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1681, allocations: 32.61 kB / 0.5723 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/0.1747, allocations: 3.071 MB / 0.5753 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1751, allocations: 0.7717 MB / 0.5761 GB, free: 296 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.419e-05/0.1752, allocations: 5.969 kB / 0.5761 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.1753, allocations: 75.41 kB / 0.5761 GB, free: 208 kB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1753, allocations: 0 / 0.5761 GB, free: 208 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04875/0.2241, allocations: 10.88 MB / 0.5868 GB, free: 5.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.69, allocations: 16.55 kB / 0.5868 GB, free: 5.492 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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: 15.650831811130047]