Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001104/0.001104, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001042/0.001042, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9214/0.9214, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.292e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005711/0.005734, allocations: 4.711 MB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.008856, allocations: 1.658 MB / 330.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.009157, allocations: 16 kB / 330.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.01136, allocations: 1.388 MB / 332.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.01181, allocations: 333.4 kB / 332.6 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.01256, allocations: 0.6151 MB / 333.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000628/0.01319, allocations: 0.8397 MB / 334.1 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.0139, allocations: 0.6597 MB / 334.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/0.0143, allocations: 0.5183 MB / 335.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.01457, allocations: 351 kB / 335.6 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.01463, allocations: 72 kB / 335.7 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.01498, allocations: 259.6 kB / 335.9 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.01507, allocations: 175.3 kB / 336.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.01523, allocations: 291.2 kB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009101/0.01614, allocations: 1.223 MB / 337.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01615, allocations: 3.938 kB / 337.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01615, allocations: 0 / 337.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.01617, allocations: 4 kB / 337.6 MB, free: 2.754 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002271/0.01844, allocations: 1.386 MB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.01848, allocations: 15.98 kB / 339 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.01859, allocations: 148.4 kB / 339.2 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008115/0.0194, allocations: 240.2 kB / 339.4 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.01957, allocations: 208.6 kB / 339.6 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.01961, allocations: 70.38 kB / 339.7 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.01972, allocations: 96.38 kB / 339.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.02076, allocations: 0.9505 MB / 340.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.02079, allocations: 4.141 kB / 340.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.02084, allocations: 44.12 kB / 340.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.02086, allocations: 24 kB / 340.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.02173, allocations: 0.7854 MB / 341.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.02502, allocations: 2.836 MB / 344.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.02626, allocations: 0.87 MB / 345.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.0266, allocations: 329.6 kB / 345.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.046e-05/0.02667, allocations: 40.91 kB / 345.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.0267, allocations: 47.55 kB / 345.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.164e-06/0.0267, allocations: 0 / 345.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.001286/0.02799, allocations: 1.007 MB / 346.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.02803, allocations: 86.11 kB / 346.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.0283, allocations: 384.2 kB / 347.1 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.02833, allocations: 41.7 kB / 347.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.0285, allocations: 384.2 kB / 347.6 MB, free: 8.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.02864, allocations: 305.3 kB / 347.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.0288, allocations: 178.9 kB / 348 MB, free: 8.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.02889, allocations: 366.8 kB / 348.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.02919, allocations: 274.5 kB / 348.7 MB, free: 7.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.02982, allocations: 475.5 kB / 349.1 MB, free: 6.852 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.03055, allocations: 0.7744 MB / 349.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.03056, allocations: 4 kB / 349.9 MB, free: 5.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001044/0.0316, allocations: 0.9807 MB / 350.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.03161, allocations: 8 kB / 350.9 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.03162, allocations: 4 kB / 350.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.03187, allocations: 127.6 kB / 351 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.03226, allocations: 207.7 kB / 351.2 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.035, allocations: 5.682 MB / 356.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.03528, allocations: 99.25 kB / 357 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.03532, allocations: 47.92 kB / 357 MB, free: 14.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.03551, allocations: 225.5 kB / 357.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.03557, allocations: 59.61 kB / 357.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009039/0.03648, allocations: 0.8443 MB / 358.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.03648, allocations: 12 kB / 358.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.03649, allocations: 0 / 358.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.03649, allocations: 3.984 kB / 358.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.03815, allocations: 1.679 MB / 359.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.03816, allocations: 4 kB / 359.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.03844, allocations: 139.8 kB / 360 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.0386, allocations: 115.6 kB / 360.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.03863, allocations: 20 kB / 360.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.04091, allocations: 5.261 MB / 365.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.04091, allocations: 7.938 kB / 365.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.04204, allocations: 1.277 MB / 366.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.0421, allocations: 71.47 kB / 366.8 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.04214, allocations: 15.94 kB / 366.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.04232, allocations: 20 kB / 366.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.0424, allocations: 76.53 kB / 366.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.04243, allocations: 28 kB / 366.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.0426, allocations: 255.2 kB / 367.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0426, allocations: 0 / 367.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005648/0.04317, allocations: 267.5 kB / 367.4 MB, free: 3.363 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.04458, allocations: 1.878 MB / 369.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.04582, allocations: 1.138 MB / 370.4 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04582, allocations: 0 / 370.4 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.04632, allocations: 0.7644 MB / 371.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.04669, allocations: 61.48 kB / 371.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005254/0.05195, allocations: 5.657 MB / 376.9 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.05216, allocations: 318.4 kB / 377.2 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002561/0.05242, allocations: 105.1 kB / 377.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.05266, allocations: 256.4 kB / 377.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05266, allocations: 0 / 377.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.08225, allocations: 14.01 MB / 391.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.873, allocations: 7.203 kB / 391.6 MB, free: 10.85 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 9.593892763368785]