Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001366/0.001366, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00146/0.00146, allocations: 215.2 kB / 24.47 MB, free: 3.777 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.503/1.503, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",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.001817/0.001817, allocations: 55.92 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3444, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00634/0.3508, allocations: 4.653 MB / 401 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.3545, allocations: 1.638 MB / 402.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.3549, allocations: 16.56 kB / 402.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.3578, allocations: 1.314 MB / 404 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3589, allocations: 316 kB / 404.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.3604, allocations: 0.6206 MB / 404.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3615, allocations: 0.8135 MB / 405.7 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.3626, allocations: 0.6582 MB / 406.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.3632, allocations: 359.9 kB / 406.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.3637, allocations: 404 kB / 407.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3639, allocations: 74.41 kB / 407.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.3645, allocations: 246.4 kB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3646, allocations: 179.1 kB / 407.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.3649, allocations: 345.5 kB / 407.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.3663, allocations: 1.203 MB / 409.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3663, allocations: 1.125 kB / 409.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3663, allocations: 0 / 409.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.3663, allocations: 0 / 409.2 MB, free: 1.332 MB / 318.1 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.003744/0.3701, allocations: 1.383 MB / 410.5 MB, free: 496 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3701, allocations: 12.02 kB / 410.5 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3702, allocations: 151.8 kB / 410.7 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.3718, allocations: 258.2 kB / 410.9 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.372, allocations: 204.8 kB / 411.1 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.3721, allocations: 73.8 kB / 411.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.3723, allocations: 100.2 kB / 411.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3739, allocations: 0.9396 MB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.374, allocations: 2.344 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.262e-05/0.374, allocations: 39.78 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3741, allocations: 28.59 kB / 412.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.3755, allocations: 0.7772 MB / 413.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.3808, allocations: 2.813 MB / 415.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3827, allocations: 0.8748 MB / 416.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.3833, allocations: 323 kB / 417.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.3833, allocations: 24.33 kB / 417.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.3834, allocations: 52.05 kB / 417.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.404e-06/0.3834, allocations: 0 / 417.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002172/0.3856, allocations: 0.9971 MB / 418.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3856, allocations: 92.59 kB / 418.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.3861, allocations: 381.6 kB / 418.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.3862, allocations: 40.73 kB / 418.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.3865, allocations: 391.5 kB / 419.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.3868, allocations: 317.3 kB / 419.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.3871, allocations: 181.9 kB / 419.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3873, allocations: 362.5 kB / 419.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.3878, allocations: 263.3 kB / 420.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.3885, allocations: 479.2 kB / 420.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3897, allocations: 0.7645 MB / 421.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3897, allocations: 2.438 kB / 421.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001793/0.3915, allocations: 0.9651 MB / 422.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3916, allocations: 8 kB / 422.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.3916, allocations: 11.98 kB / 422.4 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.392, allocations: 127.7 kB / 422.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.3927, allocations: 203.7 kB / 422.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004561/0.3973, allocations: 5.693 MB / 428.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.398, allocations: 103.2 kB / 428.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.3981, allocations: 36 kB / 428.5 MB, free: 1.98 MB / 334.1 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.0003861/0.3985, allocations: 241.5 kB / 428.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3986, allocations: 59.61 kB / 428.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.4, allocations: 0.8403 MB / 429.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4, allocations: 8 kB / 429.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.4, allocations: 7.938 kB / 429.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4001, allocations: 3.984 kB / 429.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.4029, allocations: 1.643 MB / 431.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4029, allocations: 8.031 kB / 431.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/0.4034, allocations: 139.8 kB / 431.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.4037, allocations: 107.3 kB / 431.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.4038, allocations: 20 kB / 431.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.4077, allocations: 5.28 MB / 436.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4077, allocations: 4 kB / 436.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.4095, allocations: 1.269 MB / 438.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.4097, allocations: 75.45 kB / 438.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.4097, allocations: 23.92 kB / 438.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.4101, allocations: 20 kB / 438.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4102, allocations: 60.55 kB / 438.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4102, allocations: 31.98 kB / 438.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.4105, allocations: 247.2 kB / 438.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4105, allocations: 7.875 kB / 438.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009703/0.4115, allocations: 259.6 kB / 438.9 MB, free: 7 MB / 350.1 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.00227/0.4138, allocations: 1.871 MB / 440.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.4154, allocations: 1.13 MB / 441.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4154, allocations: 0 / 441.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.4163, allocations: 0.7576 MB / 442.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.4168, allocations: 61.36 kB / 442.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/0.4247, allocations: 5.692 MB / 448.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.425, allocations: 322.4 kB / 448.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000428/0.4254, allocations: 109 kB / 448.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.4258, allocations: 243.4 kB / 449 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4258, allocations: 0 / 449 MB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3697/0.7954, allocations: 13.57 MB / 462.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.1, allocations: 7.938 kB / 462.6 MB, free: 14.66 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 19.34551488701254]