Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001913/0.001913, 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.002311/0.002311, allocations: 216.1 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.51/1.51, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.001847/0.001847, allocations: 47.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3283, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00569/0.334, allocations: 3.75 MB / 400.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.3371, allocations: 1.578 MB / 401.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.3373, allocations: 10.22 kB / 401.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.3397, allocations: 0.9382 MB / 402.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.3404, allocations: 239 kB / 402.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3419, allocations: 0.7198 MB / 403.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.3427, allocations: 0.6241 MB / 404.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007432/0.3435, allocations: 436.2 kB / 404.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.3438, allocations: 276.7 kB / 404.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.3443, allocations: 296.3 kB / 405.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/0.3444, allocations: 53.84 kB / 405.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006792/0.345, allocations: 249.4 kB / 405.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3451, allocations: 127 kB / 405.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.3454, allocations: 253 kB / 405.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3466, allocations: 0.921 MB / 406.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3466, allocations: 6.125 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3466, allocations: 0 / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3466, allocations: 0 / 406.8 MB, free: 2.719 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003646/0.3503, allocations: 1.147 MB / 407.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3503, allocations: 13.58 kB / 407.9 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3505, allocations: 112.5 kB / 408.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.3516, allocations: 178.8 kB / 408.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3518, allocations: 191.2 kB / 408.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.3518, allocations: 48.34 kB / 408.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.352, allocations: 69.09 kB / 408.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3534, allocations: 0.7266 MB / 409.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.3534, allocations: 1 kB / 409.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.3535, allocations: 26.11 kB / 409.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.3535, allocations: 17.31 kB / 409.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3548, allocations: 0.5994 MB / 409.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.3582, allocations: 1.849 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3596, allocations: 0.6743 MB / 412.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.3601, allocations: 250.8 kB / 412.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3602, allocations: 16.8 kB / 412.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.3603, allocations: 44.44 kB / 412.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.876e-06/0.3603, allocations: 0 / 412.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.00179/0.3621, allocations: 0.7086 MB / 413.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.3622, allocations: 111 kB / 413.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.3626, allocations: 267.3 kB / 413.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.3626, allocations: 39.67 kB / 413.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.3629, allocations: 271.6 kB / 414.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.3631, allocations: 232.6 kB / 414.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.3633, allocations: 117.8 kB / 414.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3635, allocations: 350.2 kB / 414.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.364, allocations: 210.8 kB / 415 MB, free: 13.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.3647, allocations: 333.8 kB / 415.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3658, allocations: 0.5092 MB / 415.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3658, allocations: 0 / 415.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001496/0.3673, allocations: 0.6281 MB / 416.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.3673, allocations: 6.094 kB / 416.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3674, allocations: 5.719 kB / 416.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.3674, allocations: 4.594 kB / 416.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.3682, allocations: 160.3 kB / 416.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.3682, allocations: 4.469 kB / 416.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.3687, allocations: 75.23 kB / 416.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.3688, allocations: 25.09 kB / 416.7 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.3691, allocations: 191.7 kB / 416.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3692, allocations: 38.52 kB / 417 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3707, allocations: 0.6115 MB / 417.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3707, allocations: 8.438 kB / 417.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3708, allocations: 0 / 417.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3708, allocations: 3.984 kB / 417.6 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.3733, allocations: 1.182 MB / 418.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3733, allocations: 0 / 418.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.3738, allocations: 133.3 kB / 418.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.3739, allocations: 7.219 kB / 418.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.3739, allocations: 16.03 kB / 418.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.3739, allocations: 6.75 kB / 418.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3739, allocations: 1.219 kB / 418.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3758, allocations: 0.9722 MB / 419.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.376, allocations: 52.59 kB / 420 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.3761, allocations: 15.66 kB / 420 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.3764, allocations: 29.16 kB / 420 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3766, allocations: 47.39 kB / 420 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.3766, allocations: 21.64 kB / 420.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.3768, allocations: 193 kB / 420.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3768, allocations: 0 / 420.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.3775, allocations: 176.3 kB / 420.4 MB, free: 10.26 MB / 334.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 (66): * Single equations (assignments): 66 * 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.00233/0.3799, allocations: 1.566 MB / 422 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3811, allocations: 0.5016 MB / 422.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3811, allocations: 4.062 kB / 422.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.3816, allocations: 251.6 kB / 422.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.3822, allocations: 40.42 kB / 422.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007013/0.3892, allocations: 4.225 MB / 427 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3895, allocations: 245.1 kB / 427.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.3899, allocations: 83.38 kB / 427.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.3902, allocations: 187.4 kB / 427.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.004e-06/0.3902, allocations: 0 / 427.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9044/1.295, allocations: 10.09 MB / 437.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.36, allocations: 3.984 kB / 437.6 MB, free: 9.234 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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: 18.946498862933367]