Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 209.4 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.86 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3666, allocations: 66.08 MB / 0.5614 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.00406/0.3706, allocations: 2.219 MB / 0.5636 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.372, allocations: 0.6389 MB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.3722, allocations: 4 kB / 0.5642 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.3723, allocations: 39.58 kB / 0.5643 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3725, allocations: 71.34 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3729, allocations: 91.81 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.3733, allocations: 343.2 kB / 0.5648 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.3736, allocations: 127.6 kB / 0.5649 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.374, allocations: 143.6 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.3743, allocations: 159.3 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-05/0.3744, allocations: 32 kB / 0.5652 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3745, allocations: 36 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.3746, allocations: 71.77 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.3747, allocations: 135.4 kB / 0.5654 GB, free: 80 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.3753, allocations: 384.6 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3753, allocations: 0 / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3753, allocations: 4 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3753, allocations: 0 / 0.5658 GB, free: 15.7 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001101/0.3764, allocations: 0.5016 MB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.3765, allocations: 16.03 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.331e-05/0.3765, allocations: 12.84 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.64e-05/0.3766, allocations: 66.72 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.3769, allocations: 48.69 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3772, allocations: 148.3 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.3772, allocations: 25.03 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.3773, allocations: 28.38 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.3779, allocations: 282 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3779, allocations: 4 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.3779, allocations: 8 kB / 0.5669 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.378, allocations: 12 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.3784, allocations: 222.5 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3802, allocations: 0.9081 MB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.3803, allocations: 38.56 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.3804, allocations: 20.92 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3804, allocations: 0 / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.3804, allocations: 42.44 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.3805, allocations: 0 / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002756/0.3807, allocations: 69.59 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3808, allocations: 55.41 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.3812, allocations: 324 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3813, allocations: 25.7 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.3815, allocations: 239.6 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.3815, allocations: 19.88 kB / 0.5688 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3816, allocations: 53.66 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3818, allocations: 334.8 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.382, allocations: 59.97 kB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3821, allocations: 93.62 kB / 0.5693 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3824, allocations: 125.7 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3824, allocations: 0 / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000468/0.3828, allocations: 238 kB / 0.5697 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3829, allocations: 11.94 kB / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3829, allocations: 4 kB / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3829, allocations: 0 / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.3832, allocations: 55.84 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3832, allocations: 4 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.3835, allocations: 35.72 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.3835, allocations: 12 kB / 0.5698 GB, free: 11.4 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.3837, allocations: 129.8 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.3837, allocations: 27.8 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.3838, allocations: 24.98 kB / 0.57 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3838, allocations: 3.938 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3838, allocations: 0 / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3838, allocations: 4 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.3845, allocations: 466.5 kB / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3845, allocations: 0 / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.3845, allocations: 7.938 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3845, allocations: 0 / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3845, allocations: 3.984 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3845, allocations: 0 / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3845, allocations: 4.062 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3847, allocations: 93.84 kB / 0.5705 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.3847, allocations: 31.78 kB / 0.5705 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3848, allocations: 4 kB / 0.5705 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3849, allocations: 3.984 kB / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3849, allocations: 4 kB / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3849, allocations: 0 / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002768/0.3852, allocations: 219.1 kB / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3852, allocations: 3.938 kB / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.3855, allocations: 63.89 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005173/0.386, allocations: 0.6405 MB / 0.5715 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.3863, allocations: 99.89 kB / 0.5716 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3863, allocations: 4 kB / 0.5716 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.3863, allocations: 11.94 kB / 0.5716 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3867, allocations: 16.98 kB / 0.5716 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.3899, allocations: 2.239 MB / 0.5738 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.39, allocations: 134.2 kB / 0.5739 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3902, allocations: 25.94 kB / 0.5739 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3904, allocations: 71.41 kB / 0.574 GB, free: 6.844 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3904, allocations: 3.938 kB / 0.574 GB, free: 6.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.4158, allocations: 4.537 MB / 0.5784 GB, free: 2.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.16, allocations: 7.922 kB / 0.5784 GB, free: 2.43 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.190585094038397]